- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for Tf_SubOp (0.13 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td
(TF_MulOp:$alpha $lr, (TF_DivOp (TF_SqrtOp (TF_SubOp $one, $beta2_power)), (TF_SubOp $one, $beta1_power) ) ), (TF_AddV2Op:$new_m (TF_MulOp $beta1, (CreateTFReadVariableOp $src_op, $grad, $m_resource)), (TF_MulOp (TF_SubOp $one, $beta1), $grad) ), (TF_AddV2Op:$new_v
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 20.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
def LowerSquaredDifferenceOpOnRealTensors : Pat< (TF_SquaredDifferenceOp RealTensor: $lhs, RealTensor:$rhs), (TF_SquareOp (TF_SubOp $lhs, $rhs))>; def LowerSquaredDifferenceOpOneComplexTensors : Pat< (TF_SquaredDifferenceOp ComplexTensor: $lhs, ComplexTensor:$rhs), (TF_MulOp (TF_SubOp:$diff $lhs, $rhs), (TF_ConjOp $diff))>; //===----------------------------------------------------------------------===//
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
// Converts inlined MatMul pattern to TF XlaDotV2 op. This pattern supports // non-constant weights. def ConvertTFMatMulWithTwoInputTensorsToXLADotV2Op : Pat< (TF_MatMulOp:$matmul (TF_SubOp (TF_CastOp $input, $truncate1), $input_zp), (TF_SubOp (TF_CastOp $weight, $truncate2), $weight_zp), $transpose_a, $transpose_b, $grad_a, $grad_b), (CreateXlaDotV2OpFromTfMatMulOp
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/transforms/prepare_patterns.td
(TF_SubOp $beta, (TF_MulOp $m, $rsqrt)))>; def ConvertBatchNormWithGlobalNormalization_2 : Pat< (TF_BatchNormWithGlobalNormalizationOp $t, $m, $v, $beta, $gamma, F32Attr:$variance_epsilon, ConstBoolAttrTrue:$scale_after_normalization), (TF_AddOp (TF_MulOp $t, (TF_MulOp:$mul (TF_RsqrtOp (TF_AddOp $v, (TF_ConstOp $variance_epsilon))), $gamma)), (TF_SubOp $beta, (TF_MulOp $m, $mul)))>;
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/tensorflow/passes/optimize.td
// Where: cst = cst2 - cst1 foreach BinaryOpPair = [[TF_AddV2Op, TF_SubOp], [TF_SubOp, TF_AddV2Op]] in { def OptimizeConsecutive#BinaryOpPair[0]#BinaryOpPair[1] : Pat< (BinaryOpPair[0] (BinaryOpPair[1] $x, (TF_ConstOp:$cst1 $cst1_value)), (TF_ConstOp:$cst2 $cst2_value)), (BinaryOpPair[0] $x, (TF_SubOp $cst2, $cst1))>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_patterns.td
(MarkNoFallback (TF_AddV2Op $input, $bias_cst)), [(IsFusibleWithBias $input), (RankEquals<"1"> $bias_cst), (NoFallbackAttrNotSet $add_op)]>; def KeepSubOp : Pat< (TF_SubOp:$sub_op $input, (TF_ConstOp:$bias_cst $bias)), (MarkNoFallback (TF_SubOp $input, $bias_cst)), [(IsFusibleWithBias $input), (RankEquals<"1"> $bias_cst),
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/tensorflow/transforms/canonicalize.td
//===----------------------------------------------------------------------===// def AddV2OfNegLeft : Pat< (TF_AddV2Op:$src (TF_NegOp $arg0), $arg1), (TF_SubOp:$dest $arg1, $arg0), [], [(CopyAttrs $src, $dest)]>; def AddV2OfNegRight : Pat< (TF_AddV2Op:$src $arg0, (TF_NegOp $arg1)), (TF_SubOp:$dest $arg0, $arg1), [], [(CopyAttrs $src, $dest)]>; //===----------------------------------------------------------------------===//
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 06 18:42:28 UTC 2023 - 17K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td
$x, (TF_MulOp:$multiplier $scale, (TF_RsqrtOp (TF_AddV2Op $variance, (TF_ConstOp $epsilon))))), (TF_SubOp $offset, (TF_MulOp $mean, $multiplier))), // We already guaranteed that the last five results have no use so it does // not matter what value we provide here for replacement. /*batch_mean=*/(replaceWithValue $x),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:24:59 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/ops.cc
.create<mlir::TF::NotEqualOp>( loc, x, y, mlir::BoolAttr::get(opb.getContext(), true)) .getOperation(); }); // mlir::TF::SubOp py::class_<mlir::TF::SubOp>(m, "Tf_SubOp") .def("create", [](mlir::OpBuilder& opb, mlir::Location loc, mlir::Value x, mlir::Value y) -> mlir::Operation* { return opb.create<mlir::TF::SubOp>(loc, x, y).getOperation();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 30 02:12:49 UTC 2022 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi
class Tf_NotEqualOp: def __init__(self, *args, **kwargs) -> None: ... def create(self, arg0: Location, arg1: Value, arg2: Value) -> Operation: ... class Tf_SubOp: def __init__(self, *args, **kwargs) -> None: ... def create(self, arg0: Location, arg1: Value, arg2: Value) -> Operation: ... class Type: def __init__(self, *args, **kwargs) -> None: ...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 09 17:10:09 UTC 2023 - 6.7K bytes - Viewed (0)