Class CellBase
Defined in File cell.h
Inheritance Relationships
Derived Types
public mindspore::Cell< GraphCell >
(Template Class Cell)public mindspore::Cell< T >
(Template Class Cell)
Class Documentation
-
class CellBase
Subclassed by mindspore::Cell< GraphCell >, mindspore::Cell< T >
Public Functions
-
CellBase() = default
Constructor of Cellbase.
-
virtual ~CellBase() = default
Destructor of Cellbase.
-
inline virtual std::vector<Output> Construct(const std::vector<Input> &inputs)
Construct using inputs.
- Parameters
inputs – [in] Vector of inputs.
- Returns
Vector of outputs.
-
virtual std::shared_ptr<CellBase> Clone() const = 0
Clone a cellbase.
- Returns
Shared pointer of Cellbase.
-
CellBase() = default