| 63 | } |
| 64 | |
| 65 | StatusCode CpuTensor::import(void *handle, ImportMemoryType type) |
| 66 | { |
| 67 | ARM_COMPUTE_ASSERT(_legacy_tensor.get() != nullptr); |
| 68 | ARM_COMPUTE_UNUSED(type); |
| 69 | |
| 70 | const auto st = _legacy_tensor->allocator()->import_memory(handle); |
| 71 | return bool(st) ? StatusCode::Success : StatusCode::RuntimeError; |
| 72 | } |
| 73 | |
| 74 | arm_compute::ITensor *CpuTensor::tensor() const |
| 75 | { |
no test coverage detected