- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TFIntListIs11XY (0.17 sec)
-
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) -
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)