24.02.1
|
Go to the documentation of this file.
66 *external_pack =
pack;
89 for (
unsigned i = 0; i < num_tensors; ++i)
@ AclSuccess
Call succeeded, leading to valid state for all involved objects/data.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
@ AclOutOfMemory
Call failed due to failure to allocate resources.
StatusCode validate_internal_context(const IContext *ctx)
Check if an internal context is valid.
StatusCode validate_internal_pack(const TensorPack *pack)
Check if an internal TensorPack is valid.
AclStatus AclPackTensors(AclTensorPack external_pack, AclTensor *external_tensors, int32_t *slot_ids, size_t num_tensors)
A list of tensors to a tensor pack.
CLTensor * tensor
Pointer to the auxiliary tensor.
AclStatus AclPackTensor(AclTensorPack external_pack, AclTensor external_tensor, int32_t slot_id)
Add a tensor to a tensor pack.
Copyright (c) 2017-2024 Arm Limited.
StatusCode validate_internal_tensor(const ITensorV2 *tensor)
Check if an internal tensor is valid.
IContext * get_internal(AclContext ctx)
Extract internal representation of a Context.
#define ARM_COMPUTE_LOG_ERROR_WITH_FUNCNAME_ACL(msg)
AclStatus AclDestroyTensorPack(AclTensorPack external_pack)
Destroy a given tensor pack object.
#define ARM_COMPUTE_RETURN_CENUM_ON_FAILURE(status)
AclStatus AclCreateTensorPack(AclTensorPack *external_pack, AclContext external_ctx)
Creates a tensor pack.