(tensor: Tensor, tensorList: Tensor[])
| 36 | } |
| 37 | |
| 38 | export function isTensorInList(tensor: Tensor, tensorList: Tensor[]): boolean { |
| 39 | return tensorList.some(x => x.id === tensor.id); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Extracts any `Tensor`s found within the provided object. |
no outgoing calls
no test coverage detected
searching dependent graphs…