| 198 | namespace internal { |
| 199 | |
| 200 | bool IsTensorStridesContiguous(const std::shared_ptr<DataType>& type, |
| 201 | const std::vector<int64_t>& shape, |
| 202 | const std::vector<int64_t>& strides) { |
| 203 | return IsTensorStridesRowMajor(type, shape, strides) || |
| 204 | IsTensorStridesColumnMajor(type, shape, strides); |
| 205 | } |
| 206 | |
| 207 | Status ValidateTensorParameters(const std::shared_ptr<DataType>& type, |
| 208 | const std::shared_ptr<Buffer>& data, |
no test coverage detected