| 63 | } |
| 64 | std::string name() const { return "nary"; } |
| 65 | migraphx::argument |
| 66 | compute(migraphx::context&, const migraphx::shape&, std::vector<migraphx::argument> args) const |
| 67 | { |
| 68 | if(args.empty()) |
| 69 | return {}; |
| 70 | return args.front(); |
| 71 | } |
| 72 | |
| 73 | migraphx::shape compute_shape(std::vector<migraphx::shape> inputs) const |
| 74 | { |