Parent class of InputTensorContext and OutputTensorContext.
virtual void getMutableFloatTensor(uint32_t n, const nnkit::TensorContext::TypedAccessor< float > &f)=0
TensorContext(const ParsedTensors &tensors)
nncc::core::ADT::tensor::Shape shape(uint32_t n) const override
TensorContext(TensorContext &&)=delete
bool isFloatTensor(uint32_t n) const override
uint32_t size(void) const override
virtual void getConstFloatTensor(uint32_t n, const nnkit::TensorContext::TypedReader< float > &f) const =0
TensorContext(const TensorContext &)=delete
std::string name(uint32_t n) const override
std::function< void(const TensorContext &, uint32_t n, const nncc::core::ADT::tensor::Reader< T > &)> TypedReader
std::function< void(const TensorContext &, uint32_t n, nncc::core::ADT::tensor::Accessor< T > &)> TypedAccessor