- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getInputFeatureDimension (0.33 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc
bool MatchInputDimensionNumbers( const ConvDimensionNumbersAttr dimension_numbers) const { return dimension_numbers.getInputBatchDimension() == 0 && dimension_numbers.getInputFeatureDimension() == 1 && dimension_numbers.getInputSpatialDimensions() == ArrayRef<int64_t>{2, 3}; } // Matches kernel dimensions corresponding to: [o, i, 0, 1].
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
dilation.emplace_back(1); } mhlo::ConvDimensionNumbersAttr dnums = conv_op.getDimensionNumbers(); const int input_feature_dimension = dnums.getInputFeatureDimension(); const int kernel_input_feature_dimension = dnums.getKernelInputFeatureDimension(); const int input_channels = mlir::cast<ShapedType>(conv_op.getLhs().getType())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
// equal to input channel * `depth_multiplier`. const int64_t multiplier = dimension_numbers.getOutputFeatureDimension() / dimension_numbers.getInputFeatureDimension(); rewriter.replaceOpWithNewOp<TFL::DepthwiseConv2DOp>( // op result should be recasted to desired quantized type. op, output_type, /*input=*/input_value,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
.getSExtValue(); auto input_feature_dimension = mlir::cast<mlir::vhlo::IntegerV1Attr>( vhlo_op.getInputFeatureDimension()) .getValue() .getSExtValue(); auto kernel_input_feature_dimension =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)