(input: TensorInfo)
| 810 | } |
| 811 | |
| 812 | packTensor(input: TensorInfo): TensorInfo { |
| 813 | const program = new PackProgram(input.shape); |
| 814 | const preventEagerUnpackingOutput = true; |
| 815 | return this.runWebGLProgram( |
| 816 | program, [input], input.dtype, null /* customUniformValues */, |
| 817 | preventEagerUnpackingOutput); |
| 818 | } |
| 819 | |
| 820 | private packedReshape(input: TensorInfo, afterShape: number[]): TensorInfo { |
| 821 | const input3DShape = [ |
no test coverage detected