| 26 | } |
| 27 | |
| 28 | void |
| 29 | Quantizer ::get_description(cli::Argument_map_info& args) const |
| 30 | { |
| 31 | auto p = this->get_prefix(); |
| 32 | const std::string class_name = "factory::Quantizer::"; |
| 33 | |
| 34 | tools::add_arg( |
| 35 | args, p, class_name + "p+size,N", cli::Integer(cli::Positive(), cli::Non_zero()), cli::arg_rank::REQ); |
| 36 | |
| 37 | tools::add_arg(args, p, class_name + "p+type", cli::Text(cli::Including_set("POW2", "CUSTOM"))); |
| 38 | |
| 39 | tools::add_arg(args, p, class_name + "p+implem", cli::Text(cli::Including_set("STD", "FAST"))); |
| 40 | |
| 41 | tools::add_arg(args, p, class_name + "p+dec", cli::Integer(cli::Positive())); |
| 42 | |
| 43 | tools::add_arg(args, p, class_name + "p+bits", cli::Integer(cli::Positive(), cli::Non_zero())); |
| 44 | |
| 45 | tools::add_arg(args, p, class_name + "p+range", cli::Real(cli::Positive(), cli::Non_zero())); |
| 46 | } |
| 47 | |
| 48 | void |
| 49 | Quantizer ::store(const cli::Argument_map_value& vals) |
nothing calls this directly
no test coverage detected