Operator Constructor and Destructor
Header File/Library File
- Header file: #include <graph/operator.h>
- Library file: libgraph.so
Function Usage
Constructs and destructs an object of class Operator.
Prototype
APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.
1 2 3 4 5 6 7 | Operator() explicit Operator(const std::string &type) explicit Operator(const char_t *type) Operator(const std::string &name, const std::string &type) Operator(const AscendString &name, const AscendString &type) Operator(const char_t *name, const char_t *type) virtual ~Operator() = default |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
type |
Input |
Operator type. |
name |
Input |
Operator name. |
Returns
Object of class Operator.
Exception Handling
None
Constraints
None
Parent topic: Operator