| 114 | } |
| 115 | |
| 116 | extern "C" AclStatus AclUnmapTensor(AclTensor external_tensor, void *handle) |
| 117 | { |
| 118 | ARM_COMPUTE_UNUSED(handle); |
| 119 | |
| 120 | using namespace arm_compute; |
| 121 | |
| 122 | auto tensor = get_internal(external_tensor); |
| 123 | StatusCode status = detail::validate_internal_tensor(tensor); |
| 124 | ARM_COMPUTE_RETURN_CENUM_ON_FAILURE(status); |
| 125 | |
| 126 | status = tensor->unmap(); |
| 127 | return AclSuccess; |
| 128 | } |
| 129 | |
| 130 | extern "C" AclStatus AclTensorImport(AclTensor external_tensor, void *handle, AclImportMemoryType type) |
| 131 | { |
no test coverage detected