| 122 | } |
| 123 | |
| 124 | int main(int argc, char **argv) { |
| 125 | int device = argc > 1 ? atoi(argv[1]) : 0; |
| 126 | bool console = argc > 2 ? argv[2][0] == '-' : false; |
| 127 | int perc = argc > 3 ? atoi(argv[3]) : 60; |
| 128 | |
| 129 | try { |
| 130 | setDevice(device); |
| 131 | af::info(); |
| 132 | bagging_demo(console, perc); |
| 133 | |
| 134 | } catch (af::exception &ae) { std::cerr << ae.what() << std::endl; } |
| 135 | |
| 136 | return 0; |
| 137 | } |
nothing calls this directly
no test coverage detected