(
shape: Shape, dtype?: DataType, name?: string)
| 162 | * @return An all-zero Variable. |
| 163 | */ |
| 164 | export function zerosVariable( |
| 165 | shape: Shape, dtype?: DataType, name?: string): LayerVariable { |
| 166 | // TODO(cais): Implement logic for dtype. |
| 167 | return new LayerVariable(tfc.zeros(shape), dtype, name); |
| 168 | } |
| 169 | |
| 170 | /** |
| 171 | * Instantiates an all-zeros tensor of the same shape as another tensor. |
no outgoing calls
no test coverage detected
searching dependent graphs…