24 #ifndef ARM_COMPUTE_ITENSORPACK_H 25 #define ARM_COMPUTE_ITENSORPACK_H 42 PackElement() =
default;
44 : tensor(tensor), ctensor(
nullptr)
47 PackElement(
const ITensor *ctensor)
48 : tensor(
nullptr), ctensor(ctensor)
53 const ITensor *ctensor{
nullptr };
98 std::map<unsigned int, PackElement> _pack{};
bool empty() const
Checks if pack is empty.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
const ITensor * get_const_tensor(int id) const
Get constant tensor of a given id.
size_t size() const
Pack size accessor.
ITensorPack()=default
Default Constructor.
ITensor * get_tensor(int id)
Get tensor of a given id from the pac.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.