8000 save · tensorflow/tfjs-core@85e6ec2 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Commit 85e6ec2

Browse files
committed
save
1 parent be29f2f commit 85e6ec2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/backends/webgl/gpgpu_math.ts

Lines changed: 0 additions & 7 deletions
7617
Original file line numberDiff line numberDiff line change
@@ -152,18 +152,11 @@ export function compileProgram<T extends Tensor, K extends Tensor>(
152152

153153
// Record location of uniforms for output
154154
if (outShapeInfo.logicalShape.length > 0) {
155-
// const outputShapeName = `outputShape`;
156-
// const outputTexShapeName = `outputTexShape`;
157155
const shouldThrow = false;
158156
recordUniformLocation(
159157
gpgpu, webGLProgram, uniformLocations, 'outputShape', shouldThrow);
160158
recordUniformLocation(
161159
gpgpu, webGLProgram, uniformLocations, 'outputTexShape', shouldThrow);
162-
// uniformLocations[outputShapeName] =
163-
// gpgpu.getUniformLocation(webGLProgram, outputShapeName, shouldThrow);
164-
// uniformLocations[outputTexShapeName] =
165-
// gpgpu.getUniformLocation(webGLProgram, outputTexShapeName,
166-
// shouldThrow);
167160
}
168161

169162
const inShapeInfos = inputInfos.map(x => x.shapeInfo);

0 commit comments

Comments
 (0)
0