Return a pointer the shape pointers of all tensors in the list. For example: const RuntimeShape* const* d = v.dims(); dims[1] are the dimensions of the second tensor in the list.
| 80 | // const RuntimeShape* const* d = v.dims(); |
| 81 | // dims[1] are the dimensions of the second tensor in the list. |
| 82 | const RuntimeShape* const* shapes() const { return all_shape_ptr_.data(); } |
| 83 | |
| 84 | private: |
| 85 | std::vector<T*> all_data_; |
no test coverage detected