| 226 | namespace internal { |
| 227 | |
| 228 | bool IsTensorStridesContiguous(const std::shared_ptr<DataType>& type, |
| 229 | const std::vector<int64_t>& shape, |
| 230 | const std::vector<int64_t>& strides) { |
| 231 | return IsTensorStridesRowMajor(type, shape, strides) || |
| 232 | IsTensorStridesColumnMajor(type, shape, strides); |
| 233 | } |
| 234 | |
| 235 | Status ValidateTensorParameters(const std::shared_ptr<DataType>& type, |
| 236 | const std::shared_ptr<Buffer>& data, |
no test coverage detected