Skip to content

Commit eae27ba

Browse files
committed
chore: fix code spell
1 parent 5c118d7 commit eae27ba

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
/* eslint-disable */
21
/**
32
* @file get the position of output tensor
43
* @author yueshuangyan
54
*/
65

7-
import {moveTexture2PosToReal} from './common_func_with_texture';
6+
import { moveTexture2PosToReal } from './common_func_with_texture';
87

9-
export default function ({channel, height_shape, width_texture, height_texture}) {
8+
export default function ({ channel, height_shape, width_texture, height_texture }) {
109
return `
11-
${moveTexture2PosToReal('out', {width_texture, height_texture})}
10+
${moveTexture2PosToReal('out', { width_texture, height_texture })}
1211
ivec4 getOutputTensorPos() {
1312
// 获取原始长度
1413
vec2 outCoord = moveTexture2PosToReal_out(vCoord.xy);
@@ -19,6 +18,6 @@ export default function ({channel, height_shape, width_texture, height_texture})
1918
int b = int(outCoord.y / float(${height_shape}));
2019
return ivec4(b, c, y, x);
2120
}
22-
`
21+
`;
2322
};
2423

packages/paddlejs-backend-webgl/src/ops/shader/squeeze2.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/**
32
* @file squeeze2
43
*/

0 commit comments

Comments
 (0)