Class Delegate

Class Documentation

class Delegate

Public Functions

Delegate() = default

Constructor of MindSpore Lite Delegate.

virtual ~Delegate() = default

Destructor of MindSpore Lite Delegate.

virtual Status Init() = 0

Init delegate.

Note

Init willed be called in Model::Build.

Returns

Status. If Status is kLiteNotSupport, the program will return to the MindSpore Lite inner inference.

virtual Status Build(DelegateModel<schema::Primitive> *model) = 0

Build delegate graph for MindSpore Lite model.

Note

Build willed be called in Model::Build.

Parameters

model[in] Define the delegate model to be built.