ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::backend::train::DummyBackendContext Class Reference

#include <BackendContext.h>

Collaboration diagram for onert::backend::train::DummyBackendContext:

Public Member Functions

 DummyBackendContext (const Backend *backend, ContextData &&data, std::shared_ptr< backend::ITensorRegistry > tensor_registry=nullptr)
 
backend::ITensorRegistrygenTensors () override
 
backend::FunctionMap genKernels () override
 
- Public Member Functions inherited from onert::backend::BackendContext
 BackendContext (const Backend *backend, ContextData &&data, std::shared_ptr< ITensorRegistry > tensor_registry=nullptr)
 
virtual ~BackendContext ()=default
 
const Backendbackend () const
 
const ir::Graphgraph () const
 
const util::Set< ir::OperandIndex > & external_operands () const
 
const ContextDatadata () const
 

Additional Inherited Members

- Data Fields inherited from onert::backend::BackendContext
std::shared_ptr< ITensorRegistrytensor_registry
 
- Protected Attributes inherited from onert::backend::BackendContext
const Backend_backend {nullptr}
 
ContextData _data
 

Detailed Description

Definition at line 35 of file BackendContext.h.

Constructor & Destructor Documentation

◆ DummyBackendContext()

onert::backend::train::DummyBackendContext::DummyBackendContext ( const Backend backend,
ContextData &&  data,
std::shared_ptr< backend::ITensorRegistry tensor_registry = nullptr 
)
inline

Definition at line 38 of file BackendContext.h.

40 : backend::BackendContext(backend, std::move(data), tensor_registry)
41 {
42 }
std::shared_ptr< ITensorRegistry > tensor_registry
const ContextData & data() const
const Backend * backend() const

Member Function Documentation

◆ genKernels()

backend::FunctionMap onert::backend::train::DummyBackendContext::genKernels ( )
inlineoverridevirtual

Implements onert::backend::BackendContext.

Definition at line 46 of file BackendContext.h.

46{ return backend::FunctionMap{}; }
std::unordered_map< ir::OperationIndex, std::unique_ptr< exec::FunctionSequence > > FunctionMap

◆ genTensors()

backend::ITensorRegistry * onert::backend::train::DummyBackendContext::genTensors ( )
inlineoverridevirtual

Implements onert::backend::BackendContext.

Definition at line 44 of file BackendContext.h.

44{ return nullptr; }

The documentation for this class was generated from the following file: