23.11
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_ITENSORPACK_H
25 #define ARM_COMPUTE_ITENSORPACK_H
31 #include <unordered_map>
113 std::unordered_map<int, PackElement> _pack{};
PackElement(int id, const ITensor *ctensor)
void remove_tensor(int id)
Remove the tensor stored with the given id.
Interface for CPU tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
ITensor * get_tensor(int id)
Get tensor of a given id from the pac.
void add_const_tensor(int id, const ITensor *tensor)
Add const tensor to the pack.
bool empty() const
Checks if pack is empty.
const ITensor * get_const_tensor(int id) const
Get constant tensor of a given id.
size_t size() const
Pack size accessor.
CLTensor * tensor
Pointer to the auxiliary tensor.
PackElement(int id, ITensor *tensor)
Copyright (c) 2017-2023 Arm Limited.
ITensorPack()=default
Default Constructor.