std::shared_ptr< ITensorRegistry > tensor_registry
const ContextData & data() const
const Backend * backend() const
std::shared_ptr< ExternalContext > external_context()
BackendContext & operator=(const BackendContext &)=delete
std::shared_ptr< KernelGenerator > kernel_gen
~BackendContext()=default
BackendContext(const ITrainableBackend *backend, std::unique_ptr< TrainableContextData > &&tdata, std::shared_ptr< backend::train::ITensorRegistry > tensor_registry=nullptr, std::shared_ptr< TensorBuilder > tensor_builder=nullptr, std::unique_ptr< exec::train::optimizer::Optimizer > optimizer=nullptr, std::shared_ptr< KernelGenerator > kernel_gen=nullptr)
const exec::train::optimizer::Optimizer * optimizer() const
FunctionMap gen() override
BackendContext(const BackendContext &)=delete
backend::ITensorRegistry * genTensors() override
backend::FunctionMap genKernels() override
DummyBackendContext(const Backend *backend, ContextData &&data, std::shared_ptr< backend::ITensorRegistry > tensor_registry=nullptr)
std::shared_ptr< ITensorRegistry > tensor_registry()
const ITrainableBackend * backend() const