- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for CPred (0.04 sec)
-
tensorflow/compiler/mlir/lite/utils/utils.td
NativeCodeCall<"TransposeLastTwoDims($0[0].getType())">; def AreLastTwoDimsTransposed : Constraint<CPred< "TFL::AreLastTwoDimsTransposed($0)">>; // Checks if the param passed is of NoneType. def IsNoneType : Constraint<CPred<"$0.getType().isa<NoneType>()">>; def ConstantLikePred : CPred<"::mlir::matchPattern($0, ::mlir::m_Constant())">; def IsConstantLike : Constraint<ConstantLikePred>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.td
let description = [{ The TFRT Fallback Dialect. }]; let cppNamespace = "::tfrt::fallback"; } // This corresponds to tensorflow::Tensor. def TFTensorType : DialectType<Fallback_Dialect, CPred<"$_self.isa<::tfrt::fallback::TFTensorType>()">, "!tfrt_fallback.tf_tensor type">, BuildableType<"$_builder.getType<::tfrt::fallback::TFTensorType>()"> { let description = [{
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
"FloatValueEquals($0, " # val # ")">>; class IsBoolAttrEqual<string true_or_false> : Constraint<CPred< "$0.getValue() == "#true_or_false#"">>; // Flattens a constant tensor to 1D. def FlattenTo1D : NativeCodeCall<"FlattenTo1D($0)">; def HasOneUse : Constraint<CPred<"$0.hasOneUse()">>; def HasSameStaticShapes : Constraint< CPred<"$0.getType().cast<ShapedType>().hasStaticShape() && "
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/tf2xla/transforms/legalize_tf_patterns.td
// BatchNorm op patterns. //===----------------------------------------------------------------------===// def FalseBoolAttr : AttrConstraint<CPred<"!$_self.cast<BoolAttr>().getValue()">>; def TrueBoolAttr : AttrConstraint<CPred<"$_self.cast<BoolAttr>().getValue()">>; def CastValueToI64: NativeCodeCall< "CastValueToI64($0.getLoc(), $1, &$_builder)">; def CastValueToElementType: NativeCodeCall<
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/tfrt/ir/mlrt/mlrt_dialect.td
} def MlrtFutureType : DialectType<Mlrt_Dialect, CPred<"$_self.isa<::mlrt::compiler::FutureType>()">, "!mlrt.future type">, BuildableType<"$_builder.getType<::mlrt::compiler::FutureType>()"> { let description = [{ `!mlrt.future type` represents a C++ mlrt::Future. }]; } def MlrtPromiseType : DialectType<Mlrt_Dialect, CPred<"$_self.isa<::mlrt::compiler::PromiseType>()">, "!mlrt.promise type">,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_dialect.td
Op<TensorflowMlrt_Dialect, mnemonic, !listconcat(traits, [IsolatedFromAbove])> { } // This corresponds to tensorflow::Tensor. def TFTensorType : DialectType<TensorflowMlrt_Dialect, CPred<"$_self.isa<::tensorflow::tf_mlrt::TFTensorType>()">, "!tf_mlrt.tensor type">, BuildableType<"$_builder.getType<::tensorflow::tf_mlrt::TFTensorType>()"> { let description = [{
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
def DenseElementsAttr : ElementsAttrBase< CPred<"$_self.isa<DenseElementsAttr>()">, "non-opaque constant tensor">; def F32ElementsAttr : ElementsAttrBase< CPred<"$_self.cast<ElementsAttr>().getShapedType().getElementType().isF32()">, "float constant tensor">; def Int64ElementsAttr : ElementsAttrBase<
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
include "tensorflow/compiler/mlir/lite/ir/tfl_ops.td" include "tensorflow/compiler/mlir/lite/utils/utils.td" def FalseBoolAttr : AttrConstraint<CPred<"!$_self.getValue()">>; def DenseElementsAttr : ElementsAttrBase< CPred<"$_self.isa<DenseElementsAttr>()">, "non-opaque constant tensor">; def CreateGatherNdOp : NativeCodeCall< "$_builder.create<TF::GatherNdOp>($0.getLoc(), $0.getType(), $1, $2)">;
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/lite/ir/tfl_ops.td
class TFL_TFTypesWithSameBits<int i, int j, int num> : And<[ Or<[CPred<"getElementTypeOrSelf($_op.getResult(" # i # ")).isa<mlir::TF::Quint" # num # "Type>()">, CPred<"getElementTypeOrSelf($_op.getResult(" # i # ")).isUnsignedInteger(" # num # ")">]>, Or<[CPred<"getElementTypeOrSelf($_op.getOperand(" # j # ")).isa<mlir::TF::Quint" # num # "Type>()">,
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/lite/stablehlo/transforms/composite_utils.td
class IsBoolAttrEqual<string true_or_false> : Constraint<CPred< "$0.getValue() == "#true_or_false#"">>; // Receives a composite DictionaryAttr as an argument and checks if one of the // its attributes (with the name `attr_name`) is of type `attribute` and has // the value `val`. class IsCompositeAttribute<string attr_name, Attr attribute, string val>: Constraint<CPred<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:05:30 UTC 2024 - 2.7K bytes - Viewed (0)