65 *external_pack = pack;
87 for(
unsigned i = 0; i < num_tensors; ++i)
#define ARM_COMPUTE_RETURN_CENUM_ON_FAILURE(status)
AclStatus add_tensor(ITensorV2 *tensor, int32_t slot_id)
Add tensor to the pack.
StatusCode validate_internal_context(const IContext *ctx)
Check if an internal context is valid.
StatusCode validate_internal_tensor(const ITensorV2 *tensor)
Check if an internal tensor is valid.
Copyright (c) 2017-2021 Arm Limited.
Call succeeded, leading to valid state for all involved objects/data.
AclStatus AclPackTensor(AclTensorPack external_pack, AclTensor external_tensor, int32_t slot_id)
Add a tensor to a tensor pack.
StatusCode validate_internal_pack(const TensorPack *pack)
Check if an internal TensorPack is valid.
Call failed due to failure to allocate resources.
AclStatus AclCreateTensorPack(AclTensorPack *external_pack, AclContext external_ctx)
Creates a tensor pack.
AclStatus AclPackTensors(AclTensorPack external_pack, AclTensor *external_tensors, int32_t *slot_ids, size_t num_tensors)
A list of tensors to a tensor pack.
#define ARM_COMPUTE_LOG_ERROR_WITH_FUNCNAME_ACL(msg)
Log an error message to the logger with function name before the message.
IContext * get_internal(AclContext ctx)
Extract internal representation of a Context.
AclStatus AclDestroyTensorPack(AclTensorPack external_pack)
Destroy a given tensor pack object.