@@ -213,7 +213,7 @@ public CombinedNonMaxSuppression combinedNonMaxSuppression(Operand<TFloat32> box
213
213
* @param options carries optional attributes values
214
214
* @return a new instance of CropAndResize
215
215
*/
216
- public < T extends TNumber > CropAndResize cropAndResize (Operand <T > image , Operand <TFloat32 > boxes ,
216
+ public CropAndResize cropAndResize (Operand <? extends TNumber > image , Operand <TFloat32 > boxes ,
217
217
Operand <TInt32 > boxInd , Operand <TInt32 > cropSize , CropAndResize .Options ... options ) {
218
218
return CropAndResize .create (scope , image , boxes , boxInd , cropSize , options );
219
219
}
@@ -239,8 +239,8 @@ public <T extends TNumber> CropAndResize cropAndResize(Operand<T> image, Operand
239
239
* @param options carries optional attributes values
240
240
* @return a new instance of CropAndResizeGradBoxes
241
241
*/
242
- public < T extends TNumber > CropAndResizeGradBoxes cropAndResizeGradBoxes (Operand <TFloat32 > grads ,
243
- Operand <T > image , Operand <TFloat32 > boxes , Operand <TInt32 > boxInd ,
242
+ public CropAndResizeGradBoxes cropAndResizeGradBoxes (Operand <TFloat32 > grads ,
243
+ Operand <? extends TNumber > image , Operand <TFloat32 > boxes , Operand <TInt32 > boxInd ,
244
244
CropAndResizeGradBoxes .Options ... options ) {
245
245
return CropAndResizeGradBoxes .create (scope , grads , image , boxes , boxInd , options );
246
246
}
@@ -573,7 +573,7 @@ public EncodeJpegVariableQuality encodeJpegVariableQuality(Operand<TUint8> image
573
573
* @param options carries optional attributes values
574
574
* @return a new instance of EncodePng
575
575
*/
576
- public < T extends TNumber > EncodePng encodePng (Operand <T > image , EncodePng .Options ... options ) {
576
+ public EncodePng encodePng (Operand <? extends TNumber > image , EncodePng .Options ... options ) {
577
577
return EncodePng .create (scope , image , options );
578
578
}
579
579
@@ -791,7 +791,7 @@ public <T extends TNumber> RandomCrop<T> randomCrop(Operand<T> image, Operand<TI
791
791
* @param options carries optional attributes values
792
792
* @return a new instance of ResizeArea
793
793
*/
794
- public < T extends TNumber > ResizeArea resizeArea (Operand <T > images , Operand <TInt32 > size ,
794
+ public ResizeArea resizeArea (Operand <? extends TNumber > images , Operand <TInt32 > size ,
795
795
ResizeArea .Options ... options ) {
796
796
return ResizeArea .create (scope , images , size , options );
797
797
}
@@ -807,7 +807,7 @@ public <T extends TNumber> ResizeArea resizeArea(Operand<T> images, Operand<TInt
807
807
* @param options carries optional attributes values
808
808
* @return a new instance of ResizeBicubic
809
809
*/
810
- public < T extends TNumber > ResizeBicubic resizeBicubic (Operand <T > images , Operand <TInt32 > size ,
810
+ public ResizeBicubic resizeBicubic (Operand <? extends TNumber > images , Operand <TInt32 > size ,
811
811
ResizeBicubic .Options ... options ) {
812
812
return ResizeBicubic .create (scope , images , size , options );
813
813
}
@@ -823,7 +823,7 @@ public <T extends TNumber> ResizeBicubic resizeBicubic(Operand<T> images, Operan
823
823
* @param options carries optional attributes values
824
824
* @return a new instance of ResizeBilinear
825
825
*/
826
- public < T extends TNumber > ResizeBilinear resizeBilinear (Operand <T > images , Operand <TInt32 > size ,
826
+ public ResizeBilinear resizeBilinear (Operand <? extends TNumber > images , Operand <TInt32 > size ,
827
827
ResizeBilinear .Options ... options ) {
828
828
return ResizeBilinear .create (scope , images , size , options );
829
829
}
@@ -939,7 +939,7 @@ public <T extends TNumber> SampleDistortedBoundingBox<T> sampleDistortedBounding
939
939
* @param options carries optional attributes values
940
940
* @return a new instance of ScaleAndTranslate
941
941
*/
942
- public < T extends TNumber > ScaleAndTranslate scaleAndTranslate (Operand <T > images ,
942
+ public ScaleAndTranslate scaleAndTranslate (Operand <? extends TNumber > images ,
943
943
Operand <TInt32 > size , Operand <TFloat32 > scale , Operand <TFloat32 > translation ,
944
944
ScaleAndTranslate .Options ... options ) {
945
945
return ScaleAndTranslate .create (scope , images , size , scale , translation , options );
0 commit comments