(
initialValue: Tensor<R>, trainable = true, name?: string,
dtype?: DataType)
| 36 | * @doc {heading: 'Tensors', subheading: 'Creation'} |
| 37 | */ |
| 38 | export function variable<R extends Rank>( |
| 39 | initialValue: Tensor<R>, trainable = true, name?: string, |
| 40 | dtype?: DataType): Variable<R> { |
| 41 | return ENGINE.makeVariable(initialValue, trainable, name, dtype) as |
| 42 | Variable<R>; |
| 43 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…