| 34 | using namespace graphlearn; // NOLINT |
| 35 | |
| 36 | void add_dag_node_string_params(DagNodeDef* node, |
| 37 | const std::string& name, |
| 38 | const std::string& value) { |
| 39 | TensorValue* param = node->add_params(); |
| 40 | param->set_name(name); |
| 41 | param->set_dtype(kString); |
| 42 | param->set_length(1); |
| 43 | param->add_string_values(value); |
| 44 | } |
| 45 | |
| 46 | void add_dag_node_int_params(DagNodeDef* node, |
| 47 | const std::string& name, |
no outgoing calls
no test coverage detected