| 41 | } |
| 42 | |
| 43 | Status BatchUnchangedSquareShapeFn(InferenceContext* c) { |
| 44 | ShapeHandle out; |
| 45 | TF_RETURN_IF_ERROR(MakeBatchSquareMatrix(c, c->input(0), &out)); |
| 46 | c->set_output(0, out); |
| 47 | return Status::OK(); |
| 48 | } |
| 49 | |
| 50 | // The first input is [...,M,N] and second input is either [...,M,K] or [...,M]. |
| 51 | // Output is [...,N,K] or [...,N]. If <square>, then input is [...,M,M]. |
nothing calls this directly
no test coverage detected