Skip to content

Commit a661933

Browse files
nathanaelseefacebook-github-bot
authored andcommitted
Convolution 1D optimized axis map (#8628)
Summary: Resubmit D67692963 (#8312) Add the kOptimizedAxisMap flag for conv1D. Reviewed By: jorgep31415 Differential Revision: D70009298
1 parent ad4675a commit a661933

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

backends/vulkan/runtime/graph/ops/impl/Convolution.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,12 @@ void add_conv1d_node(
475475
const ValueRef out,
476476
const bool clamp_out) {
477477
ValueRef arg_weight = prepack_standard(
478-
graph, weight, graph.storage_type_of(out), utils::kChannelsPacked);
478+
graph,
479+
weight,
480+
graph.storage_type_of(out),
481+
utils::kChannelsPacked,
482+
/* passthrough = */ false,
483+
utils::kOptimizedAxisMap);
479484
ValueRef arg_bias = prepack_biases(
480485
graph,
481486
bias,

0 commit comments

Comments
 (0)