Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

matmul init #214

Closed
wants to merge 3 commits into from
Closed

matmul init #214

wants to merge 3 commits into from

Conversation

wenming2014
Copy link
Collaborator

matmul init with 0(#138 )

@wenming2014 wenming2014 force-pushed the wy1 branch 3 times, most recently from c5c8a29 to 4d837bb Compare September 14, 2020 07:47
return Compute(output_shape, fn, name, reduce_axes, output_shape);
auto compute_init = [&](const std::vector<Expr>& indices) { return make_const(A->type(), 0); };
std::vector<Tensor> tensors;
Tensor C_init = Compute(output_shape, compute_init, output_name + "_init");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use InitReduction instead

@Superjomn Superjomn closed this Sep 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants