File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ bool validate_depthwise_conv2d_arguments(
7777
7878 if (bias.has_value () && bias.value ().scalar_type () != ScalarType::Int) {
7979 ET_LOG (
80- Error, " quantized_depthwise_conv2d_out: bias must be int32 if provided" );
80+ Error,
81+ " quantized_depthwise_conv2d_out: bias must be int32 if provided" );
8182 context.fail (Error::InvalidArgument);
8283 return false ;
8384 }
Original file line number Diff line number Diff line change @@ -669,7 +669,9 @@ def quantized_depthwise_conv2d_impl(
669669 activation_max : int ,
670670) -> torch .Tensor :
671671 if input .dim () != 4 or weight .dim () != 4 :
672- raise RuntimeError ("quantized_depthwise_conv2d expects 4D input and weight tensors" )
672+ raise RuntimeError (
673+ "quantized_depthwise_conv2d expects 4D input and weight tensors"
674+ )
673675
674676 # Validate depthwise convolution constraint: groups == input_channels
675677 input_channels = input .shape [1 ]
You can’t perform that action at this time.
0 commit comments