(
actual: Tensor, low: number, high: number)
| 72 | * @param expected |
| 73 | */ |
| 74 | export function expectTensorsValuesInRange( |
| 75 | actual: Tensor, low: number, high: number) { |
| 76 | if (actual == null) { |
| 77 | throw new ValueError( |
| 78 | 'First argument to expectTensorsClose() is not defined.'); |
| 79 | } |
| 80 | test_util.expectValuesInRange(actual.dataSync(), low, high); |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * Describe tests to be run on CPU and GPU. |
no test coverage detected
searching dependent graphs…