virtual void getMutableFloatTensor(uint32_t n, const TypedAccessor< float > &cb)
virtual void getConstS32Tensor(uint32_t n, const TypedReader< int32_t > &cb) const
virtual nncc::core::ADT::tensor::Shape shape(uint32_t n) const =0
std::function< void(const TensorContext &, uint32_t n, const nncc::core::ADT::tensor::Reader< T > &)> TypedReader
virtual std::string name(uint32_t n) const =0
virtual void getConstFloatTensor(uint32_t n, const TypedReader< float > &cb) const
virtual uint32_t size(void) const =0
std::function< void(const TensorContext &, uint32_t n, nncc::core::ADT::tensor::Accessor< T > &)> TypedAccessor
virtual bool isS32Tensor(uint32_t n) const
virtual bool isFloatTensor(uint32_t n) const
virtual void getMutableS32Tensor(uint32_t n, const TypedAccessor< int32_t > &cb)
virtual ~TensorContext()=default