diff --git a/Tasks/daily tasks/Fausan Asharaf/task1.py b/Tasks/daily tasks/Fausan Asharaf/task1.py new file mode 100644 index 0000000..74f9cfb --- /dev/null +++ b/Tasks/daily tasks/Fausan Asharaf/task1.py @@ -0,0 +1,10 @@ +import numpy as np +import torch + +a = np.random.randint(10, size=(5, 3)) +b = np.random.randint(10, size=(3, 4)) +a_t = torch.from_numpy(a) +b_t = torch.from_numpy(b) + +c_t = torch.matmul(a_t, b_t) +print(c_t)