- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ConstantAttr (0.23 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td
(TFL_AveragePool2DOp /*input*/ (TFL_TransposeOp $a_input, (Arith_ConstantOp ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 2, 3, 1}">)), /*filter_height*/(GetI32At<0> (GetAsVectorAttr<"kernel_size"> $attrs)),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
$x, (Arith_ConstantOp ConstantAttr<RankedF32ElementsAttr<[]>, "3.0f">), TFL_AF_Relu6), (Arith_ConstantOp ConstantAttr<RankedF32ElementsAttr<[]>, "0.166666666f">), TFL_AF_None), TFL_AF_None), (TFL_HardSwishOp $x)>; def MatchHardSwishPattern3 : Pat< (TFL_MulOp (TFL_MulOp $x, (TFL_AddOp $x, (Arith_ConstantOp ConstantAttr<RankedF32ElementsAttr<[]>, "3.0f">),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td
(Arith_ConstantOp ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 2, 3, 1}">)), (Arith_ConstantOp:$output_size (GetI32DenseAttr (GetAsVectorAttr<"output"> $attrs))), (GetCompositeAttributeAs<"align_corners", "BoolAttr"> $attrs), ConstBoolAttrTrue, (returnType (GetNhwcReturnTypeFromNchw $old_val))), (Arith_ConstantOp ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 3, 1, 2}">))>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
// Unary ops patterns. //===----------------------------------------------------------------------===// def IsDataFormatNHWC : ConstantAttr<TF_ConvnetDataFormatAttr, "\"NHWC\"">; def IsDataFormatNCHW : ConstantAttr<TF_ConvnetDataFormatAttr, "\"NCHW\"">; class I32VectorElementsAttr<int len> : ElementsAttrBase< CPred<"$_self.isa<DenseIntElementsAttr>() &&"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td
(Arith_ConstantOp ConstantAttr<I32ElementsAttr, "{0}">)), (TF_MatrixSetDiagOp $input, $diagonal)>; // `align` attribute can be ignored because we only support converting // `MatrixSetDiagV3` to `MatrixSetDiag` with default `k` inputs. def ConvertMatrixSetDiagV3ToMatrixSetDiag : Pat<(TF_MatrixSetDiagV3Op $input, $diagonal, (Arith_ConstantOp ConstantAttr<I32ElementsAttr, "{0}">),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td
CPred<"$_self.isa<DenseElementsAttr>()">, "non-opaque constant tensor">; // Checks if the data format is "NHWC". def IsDataFormatNHWC : ConstantAttr<TF_ConvnetDataFormatAttr, "\"NHWC\"">; // Checks if the data format is "NDHWC". def IsDataFormatNDHWC : ConstantAttr<TF_ConvnetDataFormatAttr, "\"NDHWC\"">; // Checks if the op is constant op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 04:55:44 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
//===----------------------------------------------------------------------===// class MHLO_ComparisonDirectionValue<string enumStr> : ConstantAttr<MHLO_ComparisonDirectionAttr, "::mlir::mhlo::ComparisonDirection::" # enumStr>; class CHLO_ComparisonDirectionValue<string enumStr> : ConstantAttr<CHLO_ComparisonDirectionAttr, "::mlir::chlo::ComparisonDirection::" # enumStr>; // TODO(b/228291745): Assert that $x and $y have the same shape.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 34.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
[(TF_OneHotOp:$labels $sparse_labels, (TF_ConstOp (GetDimSizeAsI32<1> $features, $src_op__0)), (TF_ConstOp (GetScalarOfType<1> $features)), (TF_ConstOp (GetScalarOfType<0> $features)), ConstantAttr<I64Attr, "1">), (TF_SelectV2Op:$zero_or_nan (TF_LogicalAndOp (TF_LessEqualOp (TF_ConstOp (GetScalarOfType<0> $sparse_labels)), $sparse_labels), (TF_LessOp $sparse_labels,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td
HasChloCompareType<"::mlir::chlo::ComparisonType::NOTYPE">]>, "compare type supported by TensorFlow">; class CHLO_ComparisonDirectionValue<string enumStr> : ConstantAttr<CHLO_ComparisonDirectionAttr, "::mlir::chlo::ComparisonDirection::" # enumStr>; class HasMhloCompareType<string value> : CPred<"$_self.cast<::mlir::mhlo::ComparisonTypeAttr>().getValue() == " # value>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 03 08:58:22 UTC 2024 - 34K bytes - Viewed (0)