std::shared_ptr< ITensorRegistry > tensor_registry
const ContextData & data() const
const Backend * backend() const
ITensorRegistry * genTensors() override
std::shared_ptr< DevContext > dev_context()
std::shared_ptr< TensorBuilder > tensor_builder
FunctionMap genKernels() override
std::shared_ptr< KernelGenerator > kernel_gen
BackendContext(const Backend *backend, ContextData &&data, std::shared_ptr< ITensorRegistry > tensor_registry=nullptr, std::shared_ptr< TensorBuilder > tensor_builder=nullptr, std::shared_ptr< KernelGenerator > kernel_gen=nullptr)
NPU device context of trix backend.