Method
constructor
(
readonly name: string, readonly dtype: DataType, private maxSize: number,
private elementShape: number[], readonly identicalElementShapes: boolean,
readonly dynamicSize: boolean, readonly clearAfterRead: boolean)
Source from the content-addressed store, hash-verified
| 34 | private closed_ = false; |
| 35 | readonly idTensor: Tensor; |
| 36 | constructor( |
| 37 | readonly name: string, readonly dtype: DataType, private maxSize: number, |
| 38 | private elementShape: number[], readonly identicalElementShapes: boolean, |
| 39 | readonly dynamicSize: boolean, readonly clearAfterRead: boolean) { |
| 40 | this.idTensor = scalar(0); |
| 41 | keep(this.idTensor); |
| 42 | } |
| 43 | |
| 44 | get id() { |
| 45 | return this.idTensor.id; |
Callers
nothing calls this directly
Tested by
no test coverage detected