Class GraphCell
Defined in File cell.h
Inheritance Relationships
Base Type
public mindspore::Cell< GraphCell >
Class Documentation
-
class GraphCell : public mindspore::Cell<GraphCell>
Public Functions
-
GraphCell() = default
Constructor of GraphCell.
-
~GraphCell() override = default
Destructor of GraphCell.
-
explicit GraphCell(const Graph &graph)
Constructor of GraphCell.
- 参数
graph – [in] Graph to construct.
Constructor of GraphCell.
Set a context.
- 参数
context – [in] Context to be set.
-
inline const std::shared_ptr<Graph> &GetGraph() const
Get back the graph.
- 返回
Graph of the graphcell.
-
GraphCell() = default