MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / AclUnmapTensor

Function AclUnmapTensor

src/c/AclTensor.cpp:116–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116extern "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
130extern "C" AclStatus AclTensorImport(AclTensor external_tensor, void *handle, AclImportMemoryType type)
131{

Callers 1

unmapMethod · 0.85

Calls 3

validate_internal_tensorFunction · 0.85
get_internalFunction · 0.50
unmapMethod · 0.45

Tested by

no test coverage detected