| 56 | namespace { |
| 57 | |
| 58 | ValueRef get_shape(ValueRef x) { |
| 59 | static auto op = GetVarShape::make(); |
| 60 | return imperative::apply(*op, x)[0]; |
| 61 | } |
| 62 | |
| 63 | ValueRef reduce_to(ValueRef x, ValueRef s) { |
| 64 | static auto op = Reduce::make(); |
no test coverage detected