import torch
import torch.nn as nn
input_0 = torch.Tensor([1.4222e+01, 9.9372e+00, 2.5072e+00, -6.5985e+00, -1.0004e+01,
-8.9475e+00, -1.0700e+01, -2.7447e+00, -4.8649e+00, -6.4698e+00,
-4.4321e+00, -1.6125e+01, -1.2228e+01, -4.0457e+00, 6.3351e+00,
-2.3921e+00, -1.1495e+01, -1.0952e+01])
input_1 = torch.Tensor([[1,2,3,4],[5,6,7,8]])
softmax_0 = nn.Softmax(dim=0)
softmax_1 = nn.Softmax(dim=1 )
output_0 = softmax_0(input_0)
output_1 = softmax_1(input_1)
output_2 = softmax_0(input_1)
a = softmax_0(output_0)
print(output_0)
print(output_1)
print(output_2)
print(a)
