| 169 | } |
| 170 | |
| 171 | TensorShape Elemwise::get_output_var_shape( |
| 172 | Mode mode, const TensorShapeArray& input_shapes) { |
| 173 | mgb_assert(input_shapes.size() == ModeTrait::from_mode(mode).arity); |
| 174 | TensorShape ret; |
| 175 | megdnn::Elemwise::deduce_shape(input_shapes, ret); |
| 176 | return ret; |
| 177 | } |
| 178 | |
| 179 | void Elemwise::perform( |
| 180 | Mode mode, DeviceTensorND& dest, const SmallVector<DeviceTensorND>& inputs, |
nothing calls this directly
no test coverage detected