model data class
More...
#include <menoh.hpp>
◆ model_data() [1/2]
menoh::model_data::model_data |
( |
| ) |
|
|
inline |
◆ model_data() [2/2]
◆ add_attribute_float_to_current_node()
void menoh::model_data::add_attribute_float_to_current_node |
( |
std::string const & |
attribute_name, |
|
|
float |
value |
|
) |
| |
|
inline |
◆ add_attribute_floats_to_current_node()
void menoh::model_data::add_attribute_floats_to_current_node |
( |
std::string const & |
attribute_name, |
|
|
std::vector< float > const & |
value |
|
) |
| |
|
inline |
◆ add_attribute_int_to_current_node()
void menoh::model_data::add_attribute_int_to_current_node |
( |
std::string const & |
attribute_name, |
|
|
int32_t |
value |
|
) |
| |
|
inline |
◆ add_attribute_ints_to_current_node()
void menoh::model_data::add_attribute_ints_to_current_node |
( |
std::string const & |
attribute_name, |
|
|
std::vector< int32_t > const & |
value |
|
) |
| |
|
inline |
◆ add_input_name_to_current_node()
void menoh::model_data::add_input_name_to_current_node |
( |
std::string const & |
input_name | ) |
|
|
inline |
◆ add_new_node()
void menoh::model_data::add_new_node |
( |
std::string const & |
op_type | ) |
|
|
inline |
◆ add_output_name_to_current_node()
void menoh::model_data::add_output_name_to_current_node |
( |
std::string const & |
output_name | ) |
|
|
inline |
◆ add_parameter()
void menoh::model_data::add_parameter |
( |
std::string const & |
parameter_name, |
|
|
dtype_t |
dtype, |
|
|
std::vector< int > const & |
dims, |
|
|
void * |
buffer_handle |
|
) |
| |
|
inline |
◆ get()
Accessor to internal handle
- Note
- Normally users needn't call this function.
◆ reset()
void menoh::model_data::reset |
( |
| ) |
|
|
inlinenoexcept |
The documentation for this class was generated from the following file:
- /home/okada/PFN/menoh_little_fix/include/menoh/menoh.hpp