メインコンテンツまでスキップ

ExecutionPlan Class

Execution plan of one Model build, laid out as the graph it runs. More...

Declaration​

class simaai::neat::ExecutionPlan { ... }

Included Headers​

#include <ExecutionPlan.h>

Friends Index​

structinternal::ExecutionPlanAccess

Public Constructors Index​

ExecutionPlan ()

Construct an empty plan; to_json() returns {}. More...

ExecutionPlan (const ExecutionPlan &)
ExecutionPlan (ExecutionPlan &&) noexcept

Public Destructor Index​

~ExecutionPlan ()

Public Operators Index​

ExecutionPlan &operator= (const ExecutionPlan &)
ExecutionPlan &operator= (ExecutionPlan &&) noexcept

Public Member Functions Index​

intschema_version () const

Version of the JSON schema to_json() emits. More...

std::stringto_json (int indent=2) const

Serialize the plan as JSON; indent < 0 emits one line. More...

Private Member Attributes Index​

std::shared_ptr< const Impl >impl_

Description​

Execution plan of one Model build, laid out as the graph it runs.

nodes lists the Model's graph nodes in pipeline order. Each node reports where it runs (A65, EV74, or MLA), the kernel an EV74 or A65 node executes, and the resolved settings of Preproc and SimaBoxDecode nodes. edges connect consecutive nodes and list the tensors that flow between them, with batch-first shapes, dtypes, and quantization parameters of quantized tensors. Model holds the model name, its batch size, and its per-frame device memory.

Definition at line 33 of file ExecutionPlan.h.

Friends​

internal::ExecutionPlanAccess​

friend struct internal::ExecutionPlanAccess

Definition at line 49 of file ExecutionPlan.h.

Public Constructors​

ExecutionPlan()​

simaai::neat::ExecutionPlan::ExecutionPlan ()

Construct an empty plan; to_json() returns {}.

Definition at line 36 of file ExecutionPlan.h.

ExecutionPlan()​

simaai::neat::ExecutionPlan::ExecutionPlan (const ExecutionPlan &)

Definition at line 38 of file ExecutionPlan.h.

ExecutionPlan()​

simaai::neat::ExecutionPlan::ExecutionPlan (ExecutionPlan &&)
noexcept

Definition at line 40 of file ExecutionPlan.h.

Public Destructor​

~ExecutionPlan()​

simaai::neat::ExecutionPlan::~ExecutionPlan ()

Definition at line 37 of file ExecutionPlan.h.

Public Operators​

operator=()​

ExecutionPlan & simaai::neat::ExecutionPlan::operator= (const ExecutionPlan &)

Definition at line 39 of file ExecutionPlan.h.

operator=()​

ExecutionPlan & simaai::neat::ExecutionPlan::operator= (ExecutionPlan &&)
noexcept

Definition at line 41 of file ExecutionPlan.h.

Public Member Functions​

schema_version()​

int simaai::neat::ExecutionPlan::schema_version ()

Version of the JSON schema to_json() emits.

Definition at line 44 of file ExecutionPlan.h.

to_json()​

std::string simaai::neat::ExecutionPlan::to_json (int indent=2)

Serialize the plan as JSON; indent < 0 emits one line.

Definition at line 46 of file ExecutionPlan.h.

Private Member Attributes​

impl_​

std::shared_ptr<const Impl> simaai::neat::ExecutionPlan::impl_

Definition at line 51 of file ExecutionPlan.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.