| 30 | namespace cpu |
| 31 | { |
| 32 | CpuTensor::CpuTensor(IContext *ctx, const AclTensorDescriptor &desc) : ITensorV2(ctx), _legacy_tensor() |
| 33 | { |
| 34 | ARM_COMPUTE_ASSERT((ctx != nullptr) && (ctx->type() == Target::Cpu)); |
| 35 | _legacy_tensor = std::make_unique<Tensor>(); |
| 36 | _legacy_tensor->allocator()->init(arm_compute::detail::convert_to_legacy_tensor_info(desc)); |
| 37 | } |
| 38 | |
| 39 | void *CpuTensor::map() |
| 40 | { |
nothing calls this directly
no test coverage detected