- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 89 for Pat (0.02 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
// the problem. def OptimizeReluSquaredDifference : Pat< (TFL_ReluOp (TFL_SquaredDifferenceOp $l, $r)), (TFL_SquaredDifferenceOp $l, $r)>; // Optimize X^1 o X def OptimizePow1ToIdentity : Pat< (TFL_PowOp $input, (Arith_ConstantOp ConstantAttr<RankedF32ElementsAttr<[]>, "1.0f">)), (replaceWithValue $input)>; // Optimize X^2 to X*X def OptimizePow2ToSquare : Pat< (TFL_PowOp $input,
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/transforms/legalize_tensorlist.td
"$_builder.getStringAttr("# values #")">; def LegalizeTensorListReserve : Pat<(TF_TensorListReserveOp:$tf_op $shape, $num_elements), (TFL_CustomOp (Size2InputRange $shape, $num_elements), (CreateStringAttr<"\"TensorListReserve\"">), (CustomOptions $tf_op))>; def LegalizeTensorListStack : Pat<(TF_TensorListStackOp $input, $shape, $unused_num_elements), (TFL_CustomOp (Size2InputRange $input, $shape),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 18 07:12:51 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_fusion.td
// Pattern rules for lifting ops with bias as functions //===----------------------------------------------------------------------===// def LiftDotGeneralWithBiasSameShape : Pat< (StableHLO_AddOp:$res (StableHLO_DotGeneralOp $lhs, $rhs, $dot_dimension_numbers, $precision_config), $bias), (LiftAsTFXlaCallModule<"composite_dot_general_with_bias_same_shape_fn">
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 23.6K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/HasPrefixAndSuffixPatternStepTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
def RealTensor : TensorOf<[AnySignlessInteger, AnyFloat]>; def LowerSquareOp : Pat<(TF_SquareOp $val), (TF_MulOp $val, $val)>; def LowerSquaredDifferenceOpOnRealTensors : Pat< (TF_SquaredDifferenceOp RealTensor: $lhs, RealTensor:$rhs), (TF_SquareOp (TF_SubOp $lhs, $rhs))>; def LowerSquaredDifferenceOpOneComplexTensors : Pat< (TF_SquaredDifferenceOp ComplexTensor: $lhs, ComplexTensor:$rhs),
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/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td
"Check if the given einsum op could be converted into a XlaDotV2 op.">; // Converts inlined Conv2D pattern to TF XlaConvV2 op. This pattern doesn't // support non-constant weights. def ConvertTFConv2DToXLAConvOp : Pat< (TF_Conv2DOp:$conv (TF_SubOp (TF_CastOp $input, $truncate), $input_zp), (TF_CastOp (TF_IdentityOp $filter), $truncate1), $strides, $use_cudnn, $padding, $explicit_padding,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 21.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td
[(IsNchwLayoutOp $attrs)]>; def LegalizeCompositeExactAtenGELU : Pat< (MHLO_CompositeOp:$composite (variadic $inputs), ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_), (TFL_GeluOp $inputs, ConstBoolAttrFalse), [(IsStrCompositeAttribute<"approximate", "none"> $attrs)]>; def LegalizeCompositeApproximateAtenGELU : Pat< (MHLO_CompositeOp:$composite (variadic $inputs),
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/quantization/tensorflow/fallback_to_flex_patterns.td
def RemoveConstIdentityOp : Pat< (TF_IdentityOp (TF_ConstOp $input)), (TF_ConstOp $input)>; // Standardizes the Max and Min ops by moving constant value to rhs. This will // make it easier to create Relu1 matching patterns. def SwapMaximumOperands : Pat< (TF_MaximumOp (TF_ConstOp:$cst $cst_val), $input), (TF_MaximumOp $input, $cst)>; def SwapMinimumOperands : Pat<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 29 21:02:21 UTC 2022 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.td
def LiftGather : Pat< (TF_GatherV2Op:$res $params, $indices, $axis, $batch_dims), (LiftAsTFPartitionedCall<"composite_gather_fn"> (ArgumentList $params, $indices, $axis), (ResultList $res), (NamedAttributeList (NamedAttr<"batch_dims"> $batch_dims))), [(IsNotInLiftedFunc $res), (IsConstTensor $params)], [], (addBenefit 1)>; def LiftConv3D : Pat<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td
def ConvertArithConstToTfConst : Pat< (Arith_ConstantOp:$res DenseElementsAttr:$value), (TF_ConstOp $value), [(AnyStaticShapeTensor $res)]>; // Remove CheckNumerics op def RemoveCheckNumerics : Pat< (TF_CheckNumericsOp $arg, $msg), (replaceWithValue $arg)>; // Remove StopGradient op def RemoveStopGradient : Pat< (TF_StopGradientOp $arg), (replaceWithValue $arg)>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:24:59 UTC 2024 - 8.4K bytes - Viewed (0)