(setSize = false)
| 57 | export class TestDataset extends tfd.Dataset<TensorContainerObject> { |
| 58 | override readonly size: number; |
| 59 | constructor(setSize = false) { |
| 60 | super(); |
| 61 | if (setSize) { |
| 62 | this.size = 200; |
| 63 | } |
| 64 | } |
| 65 | async iterator(): Promise<LazyIterator<{}>> { |
| 66 | return new TestObjectIterator(); |
| 67 | } |
nothing calls this directly
no outgoing calls
no test coverage detected