MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ResizeShapeFn

Function ResizeShapeFn

tensorflow/core/ops/image_ops.cc:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62Status ResizeShapeFn(InferenceContext* c) {
63 ShapeHandle input;
64 TF_RETURN_IF_ERROR(c->WithRank(c->input(0), 4, &input));
65 return SetOutputToSizedImage(c, c->Dim(input, 0), 1 /* size_input_idx */,
66 c->Dim(input, 3));
67}
68
69Status DecodeImageShapeFn(InferenceContext* c) {
70 ShapeHandle unused;

Callers 1

image_ops.ccFile · 0.70

Calls 4

SetOutputToSizedImageFunction · 0.70
WithRankMethod · 0.45
inputMethod · 0.45
DimMethod · 0.45

Tested by

no test coverage detected