(
x: Tensor, dtype?: DataType, name?: string)
| 204 | * @return A newly instantiated Variable. |
| 205 | */ |
| 206 | export function onesLike( |
| 207 | x: Tensor, dtype?: DataType, name?: string): LayerVariable { |
| 208 | const allocated = tfc.onesLike(x); |
| 209 | return new LayerVariable(allocated, dtype, name); |
| 210 | } |
| 211 | |
| 212 | /** |
| 213 | * Instantiate an identity matrix and returns it, as a Variable |
no test coverage detected
searching dependent graphs…