()
| 517 | }); |
| 518 | |
| 519 | export function getGlobalTensorClass() { |
| 520 | // Use getGlobal so that we can augment the Tensor class across package |
| 521 | // boundaries because the node resolution alg may result in different modules |
| 522 | // being returned for this file depending on the path they are loaded from. |
| 523 | return getGlobal('Tensor', () => { |
| 524 | return Tensor; |
| 525 | }); |
| 526 | } |
| 527 | |
| 528 | // Global side effect. Cache global reference to Tensor class |
| 529 | getGlobalTensorClass(); |
no test coverage detected
searching dependent graphs…