(arr: number[])
| 17 | import {DataType, TensorInfo, util} from '@tensorflow/tfjs-core'; |
| 18 | |
| 19 | const arrayProduct = (arr: number[]) => { |
| 20 | let product = 1; |
| 21 | for (let i = 0; i < arr.length; i++) { |
| 22 | product *= arr[i]; |
| 23 | } |
| 24 | return product; |
| 25 | }; |
| 26 | |
| 27 | export function tilesFitEvenlyIntoShape( |
| 28 | tileSize: number[], shape: number[]): boolean { |
no outgoing calls
no test coverage detected
searching dependent graphs…