24.02.1
|
Go to the documentation of this file.
24 #ifndef SRC_COMMON_ITENSORPACK_H_
25 #define SRC_COMMON_ITENSORPACK_H_
122 if (
pack ==
nullptr || !
pack->is_valid())
Base class specifying the tensor interface.
TensorPack(IContext *ctx)
Constructor.
AclStatus add_tensor(ITensorV2 *tensor, int32_t slot_id)
Add tensor to the pack.
bool is_valid() const
Checks if an object is valid.
#define ARM_COMPUTE_LOG_ERROR_ACL(msg)
arm_compute::ITensor * get_tensor(int32_t slot_id)
Get tensor of a given id from the pac.
Interface for CPU tensor.
bool empty() const
Checks if pack is empty.
StatusCode validate_internal_pack(const TensorPack *pack)
Check if an internal TensorPack is valid.
CLTensor * tensor
Pointer to the auxiliary tensor.
arm_compute::detail::Header header
Copyright (c) 2017-2024 Arm Limited.
arm_compute::ITensorPack & get_tensor_pack()
Get legacy tensor pack.
IContext * get_internal(AclContext ctx)
Extract internal representation of a Context.
size_t size() const
Pack size accessor.