36 _info_external =
nullptr;
42 _info_external = &
input;
48 return (_info_external !=
nullptr) ? *_info_external : _info_owned;
53 return (_info_external !=
nullptr) ? *_info_external : _info_owned;
void soft_init(TensorInfo &input, size_t alignment=0)
Initialize a tensor based with a reference TensorInfo.
void init(const TensorInfo &input, size_t alignment=0)
Initialize a tensor based on the passed TensorInfo.
Copyright (c) 2017-2023 Arm Limited.
size_t alignment() const
Return underlying's tensor buffer alignment.
TensorInfo & info()
Return a reference to the tensor's metadata.
Store the tensor's metadata.