(shape: number[])
| 140 | } |
| 141 | |
| 142 | export function flatDispatchLayout(shape: number[]) { |
| 143 | return {x: shape.map((d, i) => i)}; |
| 144 | } |
| 145 | |
| 146 | export function GPUBytesPerElement(dtype: DataType): number { |
| 147 | if (dtype === 'float32' || dtype === 'int32' || dtype === 'bool' || |
no outgoing calls
no test coverage detected
searching dependent graphs…