(dtype: DataType)
| 494 | } |
| 495 | |
| 496 | cast<T extends this>(dtype: DataType): T { |
| 497 | this.throwIfDisposed(); |
| 498 | return opHandler.cast(this as T, dtype); |
| 499 | } |
| 500 | variable(trainable = true, name?: string, dtype?: DataType): Variable<R> { |
| 501 | this.throwIfDisposed(); |
| 502 | return trackerFn().makeVariable(this, trainable, name, dtype) as |
nothing calls this directly
no test coverage detected