Return a pointer to the element at the passed coordinates * * @param[in] id Coordinates of the element * * @return Pointer to the requested element */
| 65 | * @return Pointer to the requested element |
| 66 | */ |
| 67 | inline uint8_t *ptr_to_element(const Coordinates &id) const |
| 68 | { |
| 69 | return buffer() + info()->offset_element_in_bytes(id); |
| 70 | } |
| 71 | |
| 72 | /** Copy the content of another tensor. |
| 73 | * |
no test coverage detected