TODO(qyu): Move this to core/framework/common_shape_fns.h
| 61 | |
| 62 | // TODO(qyu): Move this to core/framework/common_shape_fns.h |
| 63 | Status ResizeShapeFn(InferenceContext* c) { |
| 64 | ShapeHandle input; |
| 65 | TF_RETURN_IF_ERROR(c->WithRank(c->input(0), 4, &input)); |
| 66 | return SetOutputToSizedImage(c, c->Dim(input, 0), 2 /* size_input_idx */, |
| 67 | c->Dim(input, 3)); |
| 68 | } |
| 69 | |
| 70 | static const char kImageProjectiveTransformDoc[] = R"doc( |
| 71 | Applies the given transform to each of the images. |
nothing calls this directly
no test coverage detected