(elementShape: number|number[])
| 51 | } |
| 52 | |
| 53 | export function fullDefinedShape(elementShape: number|number[]): boolean { |
| 54 | if (typeof elementShape === 'number' || elementShape.some(dim => dim < 0)) { |
| 55 | return false; |
| 56 | } |
| 57 | return true; |
| 58 | } |
| 59 | /** |
| 60 | * Generate the output element shape from the list elementShape, list tensors |
| 61 | * and input param. |
no outgoing calls
no test coverage detected
searching dependent graphs…