- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for depthwise_ (0.32 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
if (!input_shape) { return op->emitError( "Only input with known shape is supported for Uniform Quantized " "opset."); } if (op->getParentOfType<func::FuncOp>().getName().contains("depthwise_")) { feature_group_cnt = input_shape.getDimSize(3); } attrs.push_back(rewriter.getNamedAttr( feature_group_cnt_attr, rewriter.getI64IntegerAttr(feature_group_cnt)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
} int feature_group_count = conv_op.getFeatureGroupCount(); // For depthwise and group convolutions, feature_group_count != 1 if (feature_group_count != 1) { // Depthwise or Group convolution is not supported yet. return rewriter.notifyMatchFailure( conv_op, "group or depthwise convolution is not supported"); } // Constructs strides array from lhs_dilation.
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
return new_filter_constant_value_attr; } // Checks if the given convolution op is depthwise. bool IsDepthwiseConvolution(stablehlo::ConvolutionOp op) { // `feature_group_count` controls how the input channel dimension is // split. // A value bigger than one signals depthwise convolution behavior. return op.getFeatureGroupCount() > 1; }
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/quantization/tensorflow/passes/quantize_composite_functions.cc
return success(); } OpSet target_opset_; }; // To calculate per-channel scale and offset, weight of depthwise was reshaped // to [H, W, 1, InxMul]. After scale and offset has been calculated, this // pattern gets called and restores the weight of depthwise back // into [H, W, In, Mul] class RestoreWeightShapePattern : public OpRewritePattern<TF::PartitionedCallOp> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
if (elements_depth == 1) { return true; } // In TFLite Conv2D uses OHWI format for filter, and 1HWO for Depthwise Conv. // For conv: // Check if last dimension in filter equals the first dimension // For depthwise conv: // Check if the first in filter dimension equals the first dimension. if (filter_shape.empty() || (is_depthwise ? filter_shape.back() != elements_depth
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
RELEASE.md
* Fixes a missing validation which causes denial of service via `Conv3DBackpropFilterV2` ([CVE-2022-29196](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29196)) * Fixes a `CHECK` failure in depthwise ops via overflows ([CVE-2021-41197](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41197))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
const int64_t filter_channels = GetDimSize(filter_ty, num_spatial_dims); // TensorFlow convolution op verifies that the number of input channels is // divisible by the number of filter channels. // For depthwise convolution the feature_group_count argument would be set // to the input feature dimension. const int64_t feature_group_count = depthwise_conv ? input_channels : input_channels / filter_channels;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
shape=[ tensor_shape_pb2.TensorShapeProto( dim=[ tensor_shape_pb2.TensorShapeProto.Dim( # Depthwise conv is reshaped to [H,W,1,CxM]. size=filter_shape[quantized_axis] * filter_shape[2] ) ]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
); let results = (outs TFL_TensorOf<[F32, I32, I64]>:$output); let hasOptions = 1; } def TFL_DepthwiseConv2DOp : TFL_ConvOp<"depthwise_conv_2d", "Depthwise-separable convolution", 3, [DeclareOpInterfaceMethods<TFL_ArithmeticCount>, DynamicRangeQuantizedOpInterface]> { let arguments = ( ins TFL_TensorOf<[F32, QI8, QUI8, QI16]>:$input,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
); TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>; } def TF_DepthwiseConv2dNativeOp : TF_Op<"DepthwiseConv2dNative", [Pure]> { let summary = [{ Computes a 2-D depthwise convolution given 4-D `input` and `filter` tensors. }]; let description = [{ Given an input tensor of shape `[batch, in_height, in_width, in_channels]` and a filter / kernel tensor of shape
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0)