(condition: Tensor)
| 214 | } |
| 215 | |
| 216 | where(condition: Tensor): Tensor2D { |
| 217 | assertNotComplex([condition], 'where'); |
| 218 | |
| 219 | const condVals = this.readSync(condition.dataId) as TypedArray; |
| 220 | return whereImpl(condition.shape, condVals); |
| 221 | } |
| 222 | |
| 223 | override dispose() {} |
| 224 |
nothing calls this directly
no test coverage detected