diff options
Diffstat (limited to 'src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp')
-rw-r--r-- | src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp b/src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp index 7a8b97957e..690371f910 100644 --- a/src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp +++ b/src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp @@ -131,10 +131,8 @@ Status is_supported_op_helper(const GpuWorkloadContext &context, { dst_info_to_validate_ptr = dst; } - else - { - calculate_and_init_dst_if_empty(&dst_info_to_validate, src, wei, attributes); - } + + calculate_and_init_dst_if_empty(&dst_info_to_validate, src, wei, attributes); // Check support level // Data type |