(x: LayerVariable, decrement: Tensor)
| 311 | * @return The Variable updated. |
| 312 | */ |
| 313 | export function updateSub(x: LayerVariable, decrement: Tensor): LayerVariable { |
| 314 | return x.write(tfc.sub(x.read(), decrement)); |
| 315 | } |
| 316 | |
| 317 | /** |
| 318 | * Get the values of an array of Variables. |