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

Function AclDestroyTensor

src/c/AclTensor.cpp:144–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144extern "C" AclStatus AclDestroyTensor(AclTensor external_tensor)
145{
146 using namespace arm_compute;
147
148 auto tensor = get_internal(external_tensor);
149
150 StatusCode status = detail::validate_internal_tensor(tensor);
151 ARM_COMPUTE_RETURN_CENUM_ON_FAILURE(status);
152
153 delete tensor;
154
155 return AclSuccess;
156}
157
158extern "C" AclStatus AclGetTensorSize(AclTensor tensor, uint64_t *size)
159{

Callers 1

setupMethod · 0.85

Calls 2

validate_internal_tensorFunction · 0.85
get_internalFunction · 0.50

Tested by

no test coverage detected