Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFIntListIs11XY (0.21 sec)

  1. tensorflow/compiler/mlir/lite/utils/validators.h

    // Returns true if the attribute is an integer list of the form [1, X, Y, 1].
    bool TFIntListIs1XY1(Attribute attr);
    
    // Returns true if the attribute is an integer list of the form [1, 1, X, Y].
    bool TFIntListIs11XY(Attribute attr);
    
    // Returns true if the given `op`
    //   * has an attribute with the given `name`,
    //   * and the attribute is an integer list of the form [1, X, Y, Z, 1],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/validators.cc

          mlir::cast<IntegerAttr>(elements.back()).getValue() != 1)
        return false;
      return true;
    }
    
    // Returns true if the attribute is an integer list of the form [1, 1, X, Y].
    bool TFIntListIs11XY(const Attribute attr) {
      const auto &elements = mlir::cast<ArrayAttr>(attr).getValue();
      if (elements.size() != 4 ||
          std::any_of(elements.begin(), elements.end(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    }
    
    // Constraint that Attr has values [1, X, Y, 1]
    def IsIntList1XY1 : AttrConstraint<CPred<"TFIntListIs1XY1($_self)">>;
    
    // Constraint that Attr has values [1, 1, X, Y]
    def IsIntList11XY : AttrConstraint<CPred<"TFIntListIs11XY($_self)">>;
    
    // Constraint that values in list attribute are all ones.
    def IsAllOnes : AttrConstraint<CPred<"TFIntListIsAllOnes($_self)">>;
    
    // Constraint that attribute is string with value either "SAME" or "VALID"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top