- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TFIntListIs1XY1 (0.37 sec)
-
tensorflow/compiler/mlir/lite/utils/validators.h
// * and the attribute is an integer list of the form [1, X, Y, 1], // and writes X, Y as 32-bit integer attribute to `x`, `y`. bool TFIntListIs1XY1(Operation *op, StringRef name, IntegerAttr *x, IntegerAttr *y); // 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].
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/validators.cc
// 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, 1], // and writes X, Y as 32-bit integer attribute to `x`, `y`. bool TFIntListIs1XY1(Operation *op, StringRef name, IntegerAttr *x, IntegerAttr *y) { auto attr = op->getAttrOfType<ArrayAttr>(name); if (!attr) return false; auto elements = attr.getValue();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0)