mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 12:20:24 +01:00
Fix control reaching the end of ProjectiveGenerator.
PiperOrigin-RevId: 157510013
This commit is contained in:
parent
040e2e20f1
commit
2249a4ea82
|
|
@ -76,6 +76,9 @@ class ProjectiveGenerator {
|
||||||
return bilinear_interpolation(coords[0], input_y, input_x, coords[3],
|
return bilinear_interpolation(coords[0], input_y, input_x, coords[3],
|
||||||
fill_value);
|
fill_value);
|
||||||
}
|
}
|
||||||
|
// Unreachable; ImageProjectiveTransform only uses INTERPOLATION_NEAREST
|
||||||
|
// or INTERPOLATION_BILINEAR.
|
||||||
|
return T(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user