Shape function for binary ops where both inputs and the output match.
| 209 | |
| 210 | // Shape function for binary ops where both inputs and the output match. |
| 211 | inline Status MergeBothInputsShapeFn(InferenceContext* c) { |
| 212 | ShapeHandle out; |
| 213 | TF_RETURN_IF_ERROR(c->Merge(c->input(0), c->input(1), &out)); |
| 214 | c->set_output(0, out); |
| 215 | return Status::OK(); |
| 216 | } |
| 217 | |
| 218 | // Returns a new shape with the specified dims arranged in the specified |
| 219 | // format. The returned value is owned by this context. |
no test coverage detected