(x: Tensor|Tensor[]|{[inputName: string]: Tensor}|
{[inputName: string]: Tensor[]})
| 47 | * Helper function for polymorphic input data: 1. singleton Tensor. |
| 48 | */ |
| 49 | export function isDataTensor(x: Tensor|Tensor[]|{[inputName: string]: Tensor}| |
| 50 | {[inputName: string]: Tensor[]}): boolean { |
| 51 | return x instanceof Tensor; |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Helper function for polymorphic input data: 2. Array of Tensor. |
no outgoing calls
no test coverage detected
searching dependent graphs…