ONE - On-device Neural Engine
|
Namespaces | |
namespace | feature |
namespace | train |
Data Structures | |
class | DataflowExecutor |
class | DynamicShapeInferer |
Class to infer shape of output tensor at execution time and allocate memory fo output tensor if needed. More... | |
class | EdgeTensor |
class | ExecObservers |
class | ExecTime |
class | Execution |
Class to define execution instance to collect input/output information for inference and prepare executor run (TODO) More... | |
struct | ExecutionContext |
class | ExecutionObservee |
Class that. More... | |
struct | ExecutionOptions |
class | ExecutorBase |
class | FunctionSequence |
class | HookFunction |
class | IExecutionObserver |
struct | IExecutor |
Struct to define interface of Executor. More... | |
class | IExecutors |
Class to gather NN package's executor set. More... | |
class | IFunction |
struct | InputDesc |
struct | IODescription |
struct | IOMinMaxHash |
class | IPermuteFunction |
class | Job |
class | JSON |
class | LinearExecutor |
Class to handle execution phase. Simple run the sequence of operations that is sorted in topological order. More... | |
class | MinMaxRecorder |
class | MultiModelExecutors |
Class to gather executors. More... | |
class | NopFunction |
A derivative of IFunction tha does nothing. More... | |
struct | OpMinMaxHash |
struct | OutputDesc |
class | ParallelExecutor |
Class to execute Graph in parallel. More... | |
class | ParallelScheduler |
class | PermuteLayer |
class | ProfileObserver |
class | RawMinMaxDumper |
class | SingleModelExecutors |
Class to gather executor set for single model NN package. More... | |
class | ThreadPool |
class | TracingObserver |
class | WorkQueue |
Typedefs | |
using | OpMinMaxMap = util::MinMaxMap< std::pair< ir::SubgraphIndex, ir::OperationIndex >, OpMinMaxHash > |
using | IOMinMaxMap = util::MinMaxMap< std::pair< ir::SubgraphIndex, ir::IOIndex >, IOMinMaxHash > |
using | BackendSet = util::Set< const backend::Backend * > |
using | MeasurementData = std::unordered_map< const backend::Backend *, std::unordered_map< std::string, std::unordered_map< bool, std::map< uint32_t, int64_t > > > > |
table, that contains execution time of an operation on some backend for different input sizes and transfer time from one backend to another for various input sizes (permutation time) | |
Enumerations | |
enum class | ObserverType { PROFILE , TRACING , MINMAX_DUMP } |
Functions | |
void | UpdateOffsets (::onert::backend::ITensor *src, ::onert::backend::ITensor *dst, const ::onert::ir::Shape &loop_shape, std::vector< size_t > &src_offsets, std::vector< size_t > &dst_offsets) |
void | CopyStatic (const uint8_t *src_buffer, uint8_t *dst_buffer, const std::vector< size_t > &src_offsets, const std::vector< size_t > &dst_offsets, size_t copy_len) |
void | CopyDynamic (const ::onert::backend::ITensor *src, const ::onert::backend::ITensor *dst, uint8_t *dst_buffer, const ::onert::ir::Shape &loop_shape, size_t copy_len) |
void | readString (std::string &str, std::ifstream &stream) |
Helper function for reading string from stream. | |
void | readBool (bool &quant, std::ifstream &stream) |
Helper function for reading bool from stream. | |
void | printString (const std::string &str, std::ofstream &stream) |
void | printBool (bool quant, std::ofstream &stream) |
std::pair< float, float > | minmaxFrom (const backend::ITensor *tensor) |
using onert::exec::BackendSet = typedef util::Set<const backend::Backend *> |
Definition at line 35 of file BackendSet.h.
using onert::exec::IOMinMaxMap = typedef util::MinMaxMap<std::pair<ir::SubgraphIndex, ir::IOIndex>, IOMinMaxHash> |
Definition at line 56 of file MinMaxMap.h.
using onert::exec::MeasurementData = typedef std::unordered_map< const backend::Backend *, std::unordered_map<std::string, std::unordered_map<bool, std::map<uint32_t, int64_t> >> > |
table, that contains execution time of an operation on some backend for different input sizes and transfer time from one backend to another for various input sizes (permutation time)
backend -> op -> quant-> size --> time
_measurements[Backend*]["string"][bool][uint32_t] = int64_t
Definition at line 39 of file JSONExecTime.h.
using onert::exec::OpMinMaxMap = typedef util::MinMaxMap<std::pair<ir::SubgraphIndex, ir::OperationIndex>, OpMinMaxHash> |
Definition at line 47 of file MinMaxMap.h.
|
strong |
Enumerator | |
---|---|
PROFILE | |
TRACING | |
MINMAX_DUMP |
Definition at line 36 of file ExecutionObservers.h.
|
inline |
Definition at line 58 of file IPermuteFunction.h.
References coords, and ShapeLoop().
|
inline |
Definition at line 47 of file IPermuteFunction.h.
std::pair< float, float > onert::exec::minmaxFrom | ( | const backend::ITensor * | tensor | ) |
Definition at line 36 of file MinMaxRecorder.cc.
Referenced by onert::exec::MinMaxRecorder::handleJobEnd(), and onert::exec::MinMaxRecorder::handleSubgraphBegin().
void onert::exec::printBool | ( | bool | quant, |
std::ofstream & | stream | ||
) |
Definition at line 60 of file JSONExecTime.cc.
Referenced by onert::exec::JSON::storeOperationsExecTime().
void onert::exec::printString | ( | const std::string & | str, |
std::ofstream & | stream | ||
) |
Definition at line 58 of file JSONExecTime.cc.
Referenced by onert::exec::JSON::storeOperationsExecTime().
void onert::exec::readBool | ( | bool & | quant, |
std::ifstream & | stream | ||
) |
Helper function for reading bool from stream.
quant | Output bool |
stream | File stream |
Definition at line 50 of file JSONExecTime.cc.
void onert::exec::readString | ( | std::string & | str, |
std::ifstream & | stream | ||
) |
Helper function for reading string from stream.
str | Output string |
stream | File stream |
Definition at line 31 of file JSONExecTime.cc.
|
inline |
Definition at line 37 of file IPermuteFunction.h.
References onert::backend::ITensor::calcOffset(), coords, and ShapeLoop().