Metadata for one graph tensor (graph input or output) More...
#include <graph_builder_internal.hpp>
The format-neutral GraphBuilder analogue of DaeBuilder's Variable.
Extra doc: https://github.com/casadi/casadi/wiki/L_2ju
Definition at line 42 of file graph_builder_internal.hpp.


Public Member Functions | |
| std::string | type_name () const |
| void | disp (std::ostream &stream, bool more=false) const |
| std::string | get_str (bool more=false) const |
Public Attributes | |
| std::string | name |
| Tensor name. More... | |
| std::string | io |
| "input" or "output" More... | |
| std::string | dtype |
| Element type name (FLOAT, INT64, ...) More... | |
| std::vector< casadi_int > | dimension |
| Declared shape, -1 for dynamic dimensions. More... | |
| std::vector< std::string > | dim_params |
| Symbolic name per axis ("" if static) More... | |
| std::vector< double > | value |
| Baked value (optional) More... | |
| bool | baked = false |
| True if a fixed value was set() for this input. More... | |
| void casadi::Node::disp | ( | std::ostream & | stream, |
| bool | more = false |
||
| ) | const |
Definition at line 33 of file graph_builder.cpp.
References baked, dim_params, dimension, dtype, io, and name.
Referenced by get_str().
| std::string casadi::Node::get_str | ( | bool | more = false | ) | const |
Definition at line 46 of file graph_builder.cpp.
References disp().
|
inline |
Definition at line 52 of file graph_builder_internal.hpp.
| bool casadi::Node::baked = false |
Definition at line 50 of file graph_builder_internal.hpp.
Referenced by disp().
| std::vector<std::string> casadi::Node::dim_params |
Definition at line 48 of file graph_builder_internal.hpp.
Referenced by casadi::GraphBuilderInternal::bind_shape(), disp(), casadi::io_node(), and casadi::GraphBuilderInternal::resolved_shape().
| std::vector<casadi_int> casadi::Node::dimension |
Definition at line 47 of file graph_builder_internal.hpp.
Referenced by casadi::GraphBuilderInternal::bind_shape(), disp(), casadi::GraphBuilderInternal::input_shape(), casadi::io_node(), casadi::GraphBuilderInternal::output_shape(), and casadi::GraphBuilderInternal::resolved_shape().
| std::string casadi::Node::dtype |
Definition at line 46 of file graph_builder_internal.hpp.
Referenced by disp(), and casadi::io_node().
| std::string casadi::Node::io |
Definition at line 45 of file graph_builder_internal.hpp.
Referenced by disp(), casadi::io_node(), and casadi::GraphBuilderInternal::resolved_shape().
| std::string casadi::Node::name |
Definition at line 44 of file graph_builder_internal.hpp.
Referenced by disp(), casadi::io_node(), and casadi::GraphBuilderInternal::resolved_shape().
| std::vector<double> casadi::Node::value |
Definition at line 49 of file graph_builder_internal.hpp.