sub_

paddle. sub_ ( x: Tensor, y: Tensor, name: str | None = None, *, alpha: Number = 1 ) Tensor

Inplace version of subtract API, the output Tensor will be inplaced with input x. Please refer to api_paddle_subtract.