Files
NIC_Project/test.py
T
2025-04-07 19:09:24 +03:00

7 lines
147 B
Python

import torch
import torch.nn as nn
import torch.nn.functional as nnf
import numpy as np
t = torch.tensor([1, 2, 3]).float()
print(torch.argmax(t))