Skip to content

Commit

Permalink
closes #106; fix bad optional access
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzeyi committed Jan 29, 2024
1 parent 2536cc5 commit 0bc4688
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sfast/csrc/operators/cudnn/cudnn_convolution_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,6 @@ class CUDNNConvolutionBiasAddActivationWithFallbackFunction
input, weight, z, alpha, bias, stride, padding, dilation, transposed,
output_padding, groups, activation_mode);

auto z_ = z.has_value() ? bias.value() : Tensor();
auto bias_ = bias.has_value() ? bias.value() : Tensor();

ctx->save_for_backward({input, weight, bias_, output});
Expand Down

0 comments on commit 0bc4688

Please sign in to comment.