Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_AnyStrAttrOf (0.18 sec)

  1. 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)
  2. 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