Template Class IDelegate
- Defined in File delegate_api.h 
Inheritance Relationships
Base Type
- public mindspore::AbstractDelegate
Derived Type
- public mindspore::Delegate(Class Delegate)
Class Documentation
- 
template<typename Graph, typename Node, typename Kernel>
 class IDelegate : public mindspore::AbstractDelegate
- Subclassed by mindspore::Delegate - Public Functions - Replace the nodes in model with delegate nodes, delegate will create kernels by its delegate nodes. - 参数
- graph – [in] The graph to be built. 
 
 - Check if this node is belong to this delegate. - 参数
- node – [in] The node need to be checked. 
- 返回
- True if the node is belong to this delegate, otherwise return false. 
 
 - Create a delegate kernel if the node is a delegate node. - 参数
- node – [in] Define the delegate model to be built. 
- 返回
- The delegate kernel, if the node is not a delegate node, return nullptr.