"script/cmake-cuda.sh" did not exist on "79e6abbda83015921a6bdf5affd6582ba0ffea7a"
Commit 350edea3 authored by Paul's avatar Paul
Browse files

Add command to show parameters

parent ab56a9eb
...@@ -119,6 +119,20 @@ struct read : command<read> ...@@ -119,6 +119,20 @@ struct read : command<read>
} }
}; };
struct params : command<params>
{
loader l;
void parse(argument_parser& ap) { l.parse(ap); }
void run()
{
auto p = l.load();
for(auto&& param:p.get_parameter_shapes())
std::cout << param.first << ": " << param.second << std::endl;
}
};
struct verify : command<verify> struct verify : command<verify>
{ {
loader l; loader l;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment