(shape: number[])
| 191 | } |
| 192 | |
| 193 | function formatShape(shape: number[]): string { |
| 194 | const oShape: Array<number|string> = shape.slice(); |
| 195 | if (oShape.length === 0) { |
| 196 | return 'Scalar'; |
| 197 | } |
| 198 | if (oShape[0] === null) { |
| 199 | oShape[0] = 'batch'; |
| 200 | } |
| 201 | return `[${oShape.join(',')}]`; |
| 202 | } |
| 203 | |
| 204 | function addHistogramSelector( |
| 205 | items: string[], parent: HTMLElement, |
no test coverage detected
searching dependent graphs…