Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NativeCodeCall (0.22 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    class SliceDenseIntElementsAttrColumn2D<string column> : NativeCodeCall<
      "SliceDenseIntElementsAttrColumn2D($0.cast<ElementsAttr>(), " # column # " )">;
    
    class SliceDenseIntElementsAttr<string index, string axis> : NativeCodeCall<
      "SliceDenseIntElementsAttr($0.cast<ElementsAttr>(), " # index # ", " # axis # ")">;
    
    // Interior padding attribute based on the TF padding.
    def GetInteriorPadding : 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)
  2. 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)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def convertIntAttrTo32Bit : NativeCodeCall<
        "$_builder.getI32IntegerAttr($0.cast<IntegerAttr>().getInt())">;
    
    // Builds a constant bool attribute.
    class GetBoolAttr<int value> :
        NativeCodeCall<"$_builder.getBoolAttr(" # value #")">;
    
    // Converts an integer attribute $0 to 64-bit with builder.
    def convertIntAttrTo64Bit : NativeCodeCall<
        "$_builder.getI64IntegerAttr($0.cast<IntegerAttr>().getInt())">;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
Back to top