- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for BoolAttr (0.23 sec)
-
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/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_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/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) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
NativeCodeCall<"GetI64ElementsAttr({" # value # "}, &$_builder)">; class GetF32Scalar<int value> : NativeCodeCall<"GetF32Scalar(&$_builder, " # value # ")">; def TrueBoolAttr : AttrConstraint<CPred<"$_self.cast<::mlir::BoolAttr>().getValue()">>; def CreateTFShapeOp : NativeCodeCall< "$_builder.create<TF::ShapeOp>($0.getLoc(), $1, $2)">; def IsI32 : NativeCodeCall<
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/flatbuffer_export.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
TF::TensorListLengthOp op, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override { Location loc = op.getLoc(); Value input_handle = adaptor.getOperands()[0]; BoolAttr true_attr = rewriter.getBoolAttr(true); auto shape = rewriter.create<TF::ShapeOp>(loc, input_handle, /*use_32bit=*/true_attr); rewriter.replaceOpWithNewOp<TF::GatherOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
// If the 'transpose' attribute is true returns ElementsAttr to transpose 2D // matrix. Otherwise, returns ElementsAttr for identity transpose. static DenseIntElementsAttr Get2DTransposePerm(BoolAttr transpose, Builder *b) { if (transpose.getValue()) return GetI64ElementsAttr({1, 0}, b); return GetI64ElementsAttr({0, 1}, b); } //===----------------------------------------------------------------------===//
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)