| 184 | } |
| 185 | |
| 186 | argument argument::copy() const |
| 187 | { |
| 188 | argument result{this->get_shape()}; |
| 189 | auto* src = this->data(); |
| 190 | std::copy(src, src + this->get_shape().bytes(), result.data()); |
| 191 | return result; |
| 192 | } |
| 193 | |
| 194 | argument argument::share() const { return {m_shape, m_data.share()}; } |
| 195 |
no test coverage detected