24 #ifndef SRC_COMMON_ITENSORPACK_H_ 25 #define SRC_COMMON_ITENSORPACK_H_ 82 bool is_valid()
const;
121 if(pack ==
nullptr || !pack->
is_valid())
124 return StatusCode::InvalidArgument;
126 return StatusCode::Success;
TensorPack * get_internal(AclTensorPack pack)
Extract internal representation of a TensoPack.
Base class specifying the tensor interface.
bool is_valid() const
Checks if an object is valid.
#define ARM_COMPUTE_LOG_ERROR_ACL(msg)
Log an error message to the logger.
Interface for CPU tensor.
Copyright (c) 2017-2021 Arm Limited.
arm_compute::detail::Header header
StatusCode validate_internal_pack(const TensorPack *pack)
Check if an internal TensorPack is valid.