Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TF_AnyStrAttrOf (0.14 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_op_enums.td

    include "mlir/IR/EnumAttr.td"
    include "mlir/IR/OpBase.td"
    include "tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td"
    
    // A string attribute whose value are one of the values in `cases`.
    // Referred TF_AnyStrAttrOf in tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td
    class TFL_AnyStrAttrOf<list<string> cases> : StringBasedAttr<
      CPred<!foldl(
          "$_self.cast<StringAttr>().getValue() == \"" # !head(cases) # "\"",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 20 00:05:24 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        ConfinedAttr<I64Attr, [IntMinValue<0>]>:$num_args,
        I64ArrayAttr:$strides,
        TF_AnyStrAttrOf<["SAME", "VALID", "EXPLICIT"]>:$padding,
        DefaultValuedOptionalAttr<I64ArrayAttr, "{}">:$explicit_paddings,
        DefaultValuedOptionalAttr<TF_AnyStrAttrOf<["NHWC", "NCHW", "NCHW_VECT_C"]>, "\"NHWC\"">:$data_format,
        DefaultValuedOptionalAttr<TF_AnyStrAttrOf<["HWIO", "OIHW", "OIHW_VECT_I"]>, "\"HWIO\"">:$filter_format,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    //   allow num_slices > 1, and allow non default arguments for $mode,
    //   $narrow_range, and $axis.
    def LowerDequantizeOp : Pat<
      (TF_DequantizeOp:$result
        $input, $min_range, $max_range,
        TF_AnyStrAttrOf<["MIN_COMBINED"]>:$mode,
        ConstBoolAttrFalse:$narrow_range,
        ConstantAttr<I64Attr, "-1">:$axis),
      (TF_CastOp
        (TF_AddV2Op
          (TF_MulOp
            (TF_AddV2Op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    //===----------------------------------------------------------------------===//
    // String attribute constraints
    
    // A string attribute whose value are one of the values in `cases`.
    class TF_AnyStrAttrOf<list<string> cases> : StringBasedAttr<
      CPred<!foldl(
          "$_self.cast<StringAttr>().getValue() == \"" # !head(cases) # "\"",
          !foreach(case, !tail(cases),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
Back to top