- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for NativeCodeCall (0.25 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_canonicalize.td
// Squeezed, here, means eliminating any 1s' in the // dimensions of the tensor def GetSqueezedShape: NativeCodeCall<"GetSqueezedShape($0)">; // This is a utility function to deduct the effective permutation to apply on // TFL_TransposeOp when the tensor has some dimensions with value==1 def GetSqueezedPermutation: NativeCodeCall<"GetSqueezedPermutation($0, $1)">; // Check to see if the tensor dimensions can be Squeezed by eliminating 1s'
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 13 20:41:03 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td
// Make the 1D value $0 broadcastable with the shape of $1. def MakeOneDimValueBroadcastable : NativeCodeCall< "MakeOneDimValueBroadcastable($_builder, $_loc, $0, $1.getType().cast<ShapedType>())">; // Match convolution op with "NHWC" data format or matmul op. def SupportedAffineOpMatcher : NativeCodeCall< "MatchSupportedAffineOp($_self, $0, $1, $2)">; // Checks if a value can be symetrically quantized.
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/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.td
def IsPrecisionEmpty : Constraint<CPred<"IsPrecisionEmpty($0)">>; // Creates Einsum Op from XlaDotV2 Op by generating equation. def CreateEinsumOpFromXlaDotV2Op : NativeCodeCall< "CreateEinsumOpFromXlaDotV2Op($_builder, $_loc, $0...)">; // Convert XlaDotV2 Op to Einsum Op with above two functions. def ConvertXlaDotV2OpToEinsumOp : Pat<
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/tensorflow/transforms/decompose_resource_ops.td
def CheckHasResourceSubtype : Constraint<CPred<"HasResourceSubtype($0)">>; def CreateConstBoolAttrFalse : NativeCodeCall<"$_builder.getBoolAttr(false)">; def CreateTFReadVariableOpFromResourceHandle : NativeCodeCall< "$_builder.create<TF::ReadVariableOp>(" "$0.getLoc(), GetResourceSubtype($1), $1)">; def CreateTFSelectOp: NativeCodeCall< "$_builder.create<TF::SelectOp>(" "$0.getLoc(), $3.getType(), $1, $2, $3)">;
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/transforms/prepare_patterns.td
def DenseElementsAttr : ElementsAttrBase< CPred<"$_self.isa<DenseElementsAttr>()">, "non-opaque constant tensor">; def CreateGatherNdOp : NativeCodeCall< "$_builder.create<TF::GatherNdOp>($0.getLoc(), $0.getType(), $1, $2)">; def CreateTFCastOpI32 : NativeCodeCall< "CreateTFCastOpI32(&$_builder, $_loc, $0, $1)">; // Convert to std constant for statically shaped, non-opaque constants.
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/replace_cast_hacks_with_tf_xla_ops.td
include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td" def CreateXLAConvOpFromTFConv2DOp : NativeCodeCall< "CreateXlaConvOpFromTfConv2dOp($_builder, $_loc, $0...)">; def CreateXLAConvOpFromTFDepthwiseConv2DOp : NativeCodeCall< "CreateXlaConvOpFromTfDepthwiseConv2dOp($_builder, $_loc, $0...)">; def CreateXlaDotV2OpFromTfMatMulOp : NativeCodeCall< "CreateXlaDotV2OpFromTfMatMulOp($_builder, $_loc, $0...)">;
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/legalize_hlo_patterns.td
"new dimensions are inserted in intermediate positions">; // Return intermediate shape before broadcasting, wrapped in a constant op. def ExpandedShape : NativeCodeCall<"ExpandedShape($_builder, $0, $1, $2)">; def ExpandedDynamicShape : NativeCodeCall<"ExpandedDynamicShape($_builder, $0, $1, $2)">; def : Pat<(MHLO_ConstantOp:$output $value), (TF_ConstOp $value), [(TF_Tensor $output)]>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 03 08:58:22 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.td
include "mlir/IR/OpBase.td" include "mlir/IR/PatternBase.td" // Here, the element type can be any integer or float type. But, note that only // 32 bit integers are supported for the values. class GetScalarOfType<int value> : NativeCodeCall< "GetScalarOfType(getElementTypeOrSelf($0)," # value # ")">; // Here, the element type can be any integer or float type. But, note that only // 32 bit integers are supported for the values.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 21 02:54:35 UTC 2022 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td
// Gather op patterns. //===----------------------------------------------------------------------===// class GetI32Attr<int x>: NativeCodeCall< "$_builder.getI32IntegerAttr(" # x # ")">; class GetI64Attr<int x>: NativeCodeCall< "$_builder.getI64IntegerAttr(" # x # ")">; // The deprecated validate_indices attribute is NOT verified during
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/lite/stablehlo/odml_converter/transforms/shlo_simplify.td
include "mlir/IR/OpBase.td" include "mlir/IR/BuiltinAttributes.td" include "mlir/IR/CommonAttrConstraints.td" include "mlir/IR/CommonTypeConstraints.td" def CloneF32ElementsAttrWithOnes : NativeCodeCall<"DenseElementsAttr::get($0.getType().cast<ShapedType>(), (float)1.0)">; def NotConstant : Constraint< CPred<"$0.isa<BlockArgument>() || !llvm::isa<stablehlo::ConstantOp>($0.getDefiningOp())">, "Is not a constant.">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 03:05:20 UTC 2024 - 1.4K bytes - Viewed (0)