Pytorch Torch Positive
# PyTorch torch.positive Function
* * *
[
* * *
## Usage Example
## Example
import torch
# Element-wise positive
x = torch.tensor([1.0,2.0,3.0])
result = torch.positive(x)
print(result)
* * *
[![Image 4: Pytorch torch Reference Manual]( Pytorch torch Reference Manual](
YouTip