const int kDefaultNumThreadpoolThreads
std::shared_ptr< ITensorRegistry > tensor_registry
const ContextData & data() const
const Backend * backend() const
std::shared_ptr< ExternalContext > external_context()
std::shared_ptr< TensorBuilder > tensor_builder
FunctionMap genKernels() override
ITensorRegistry * genTensors() 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)