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

Function AclPackTensors

src/c/AclTensorPack.cpp:81–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81extern "C" AclStatus
82AclPackTensors(AclTensorPack external_pack, AclTensor *external_tensors, int32_t *slot_ids, size_t num_tensors)
83{
84 using namespace arm_compute;
85
86 auto pack = get_internal(external_pack);
87 ARM_COMPUTE_RETURN_CENUM_ON_FAILURE(detail::validate_internal_pack(pack));
88
89 for (unsigned i = 0; i < num_tensors; ++i)
90 {
91 ARM_COMPUTE_RETURN_CENUM_ON_FAILURE(PackTensorInternal(*pack, external_tensors[i], slot_ids[i]));
92 }
93 return AclStatus::AclSuccess;
94}
95
96extern "C" AclStatus AclDestroyTensorPack(AclTensorPack external_pack)
97{

Callers 1

addMethod · 0.85

Calls 3

validate_internal_packFunction · 0.85
PackTensorInternalFunction · 0.85
get_internalFunction · 0.50

Tested by

no test coverage detected