(trainable = true, name?: string, dtype?: DataType)
| 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 |
| 503 | Variable<R>; |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | Object.defineProperty(Tensor, Symbol.hasInstance, { |
no test coverage detected