| 146 | } |
| 147 | |
| 148 | void |
| 149 | ConvertShape(TRITONTF_Shape* shape, tensorflow::TensorShape* tfshape) |
| 150 | { |
| 151 | for (size_t itr = 0; itr < shape->rank_; itr++) { |
| 152 | const int64_t dim = shape->dims_[itr]; |
| 153 | tfshape->AddDim(dim); |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | TRITONTF_Shape* |
| 158 | ConvertShape(const tensorflow::TensorShape& tfshape) |
no test coverage detected