- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for BoolAttr (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td
>; // This decomposition is only correct inside XLA as it ignores use_locking // attribute. def DecomposeResourceApplyGradientDescentOp : Pat< (TF_ResourceApplyGradientDescentOp:$src_op $resource, $alpha, $delta, BoolAttr:$_), (TF_AssignVariableOp $resource, (TF_SubOp (CreateTFReadVariableOp $src_op, $alpha, $resource), (TF_MulOp $alpha, $delta) ), (CreateConstBoolAttrFalse) )
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/lite/stablehlo/transforms/composite_lowering_patterns.td
(TFL_HardSwishOp $input)>; def IsNchwLayoutOp: Constraint<CPred< "$0.get(\"is_nchw_op\") && $0.get(\"is_nchw_op\").dyn_cast<BoolAttr>() " "== mlir::BoolAttr::get($_builder.getContext(), true)">>; def IsNhwcLayoutOp: Constraint<Neg<IsNchwLayoutOp.predicate>>; // TODO(b/343278954): Move the creation of transposes to a separate prepare pass
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/stablehlo/transforms/composite_utils.td
// Receives a composite DictionaryAttr as an argument and checks if has a // BoolAttr with the name `attr_name` and value `val`. class IsBoolCompositeAttribute <string attr_name, string val>: IsCompositeAttribute<attr_name, BoolAttr, val>; // Receives a composite DictionaryAttr as an argument and checks if has a // StrAttr with the name `attr_name` and value `val`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:05:30 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
def LegalizeMin : Pat< (TF_MinOp $arg0, $axes, BoolAttr:$arg2), (TFL_ReduceMinOp $arg0, (CreateTFCastToInt32Op $axes), $arg2)>; def LegalizeMax : Pat< (TF_MaxOp $arg0, $axes, BoolAttr:$arg2), (TFL_ReduceMaxOp $arg0, (CreateTFCastToInt32Op $axes), $arg2)>; def LegalizeProd : Pat< (TF_ProdOp $arg0, $axes, BoolAttr:$arg2), (TFL_ReduceProdOp $arg0, (CreateTFCastToInt32Op $axes), $arg2)>;
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/tensorflow/ir/tf_ops_tensor_helper.h
Type DeduceEqualCmpOpType(Builder *builder, Location loc, Value x, Value y, BoolAttr incompatible_shape_error); Type InferReductionOpType(Value input, Value reduction_indices, BoolAttr keep_dims); // Verifies that the given types are cast compatible. If not, emits appropriate
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc
if (callable->hasAttr("tf._XlaMustCompile")) return true; auto noinline_attr_name = absl::StrCat("tf.", tensorflow::kNoInlineAttr); if (auto noinline_attr = callable->getAttrOfType<BoolAttr>(noinline_attr_name)) return !noinline_attr.getValue(); return true; } // Returns if its legal to inline 'src' region into the 'dest' region // attached to a TF operation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
DefaultValuedOptionalAttr<BoolAttr, "false">:$adj_x, DefaultValuedOptionalAttr<BoolAttr, "false">:$adj_y, DefaultValuedOptionalAttr<BoolAttr, "false">:$grad_x, DefaultValuedOptionalAttr<BoolAttr, "false">:$grad_y ); let results = (outs
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
Variadic<TF_Tensor>:$input, ConfinedAttr<SymbolRefArrayAttr, [ArrayMinCount<1>]>:$branches, // Used to map StatelessCase and Case op defined in TensorFlow to a common // op. BoolAttr:$is_stateless ); let results = (outs Variadic<TF_Tensor>:$output ); TF_DerivedOperandTypeListAttr Tin = TF_DerivedOperandTypeListAttr<1>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc
// incompatible shapes. Otherwise, returns a tensor type with unknown rank. Type DeduceEqualCmpOpType(Builder *builder, Location loc, Value x, Value y, BoolAttr incompatible_shape_error) { auto result_type = OpTrait::util::getBroadcastedType(x.getType(), y.getType()); if (!result_type) { if (incompatible_shape_error.getValue()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
"whose value is non-negative">; def TFL_BoolTrue : AttrConstraint< CPred<"$_self.isa<BoolAttr>() && $_self.cast<BoolAttr>().getValue()">, "whose value is true">; def TFL_BoolFalse : AttrConstraint< CPred<"$_self.isa<BoolAttr>() && !$_self.cast<BoolAttr>().getValue()">, "whose value is false">; class TFL_StringEqualsTo<string value> : AttrConstraint<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0)