Searched refs:parameter_proto (Results 1 – 1 of 1) sorted by relevance
1503 ModelProto::Node::Parameter* parameter_proto = node_proto->add_parameters(); in ToProto() local1504 parameter_proto->set_name(parameter.first); in ToProto()1505 parameter_proto->set_value(parameter.second->value); in ToProto()1506 parameter_proto->set_min(parameter.second->min); in ToProto()1507 parameter_proto->set_max(parameter.second->max); in ToProto()1508 parameter_proto->set_state_value(parameter.second->state->value); in ToProto()1509 parameter_proto->set_tunable(parameter.second->state->tunable); in ToProto()1535 const ModelProto::Node::Parameter& parameter_proto = in FromProtoHelper() local1538 if (parameter_proto.tunable()) { in FromProtoHelper()1542 state->value = parameter_proto.state_value(); in FromProtoHelper()[all …]