| 37 | } |
| 38 | |
| 39 | void *CpuTensor::map() |
| 40 | { |
| 41 | ARM_COMPUTE_ASSERT(_legacy_tensor.get() != nullptr); |
| 42 | |
| 43 | if (_legacy_tensor == nullptr) |
| 44 | { |
| 45 | ARM_COMPUTE_LOG_ERROR_ACL("[CpuTensor:map]: Backing tensor does not exist!"); |
| 46 | return nullptr; |
| 47 | } |
| 48 | return _legacy_tensor->buffer(); |
| 49 | } |
| 50 | |
| 51 | StatusCode CpuTensor::allocate() |
| 52 | { |
no test coverage detected