From 9dc5be687149383a55488792b48642ecf9af349e Mon Sep 17 00:00:00 2001 From: Xinghua Cao Date: Mon, 20 Feb 2023 10:31:36 +0800 Subject: [PATCH] Fix bot's error --- tfjs-backend-webgpu/src/kernels/ResizeBilinearGrad.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tfjs-backend-webgpu/src/kernels/ResizeBilinearGrad.ts b/tfjs-backend-webgpu/src/kernels/ResizeBilinearGrad.ts index bbc87085372..7af86c719bb 100644 --- a/tfjs-backend-webgpu/src/kernels/ResizeBilinearGrad.ts +++ b/tfjs-backend-webgpu/src/kernels/ResizeBilinearGrad.ts @@ -29,7 +29,8 @@ export function resizeBilinearGrad(args: { const {images, dy} = inputs; const {alignCorners} = attrs; - const [, xHeight, xWidth, ] = images.shape as [number, number, number, number]; + const [, xHeight, xWidth, ] = + images.shape as [number, number, number, number]; const [, yHeight, yWidth] = dy.shape as [number, number, number, number]; const effectiveXSize: [number, number] = [