(outputShape: number[])
| 31 | size = true; |
| 32 | |
| 33 | constructor(outputShape: number[]) { |
| 34 | this.outputShape = outputShape; |
| 35 | this.dispatchLayout = flatDispatchLayout(this.outputShape); |
| 36 | this.dispatch = computeDispatch( |
| 37 | this.dispatchLayout, this.outputShape, this.workgroupSize); |
| 38 | |
| 39 | this.shaderKey = 'clip'; |
| 40 | } |
| 41 | |
| 42 | getUserCode(): string { |
| 43 | const userCode = ` |
nothing calls this directly
no test coverage detected