@Sarashahin
Nothing here yet.
Nothing here yet.
Aug 9, 2023 · 1 min read · torch.matmul(a, b) # multiples torch tensors a and b * # element-wise multiplication between two torch tensorstorch.eye(n) # creates an identity torch tensor with shape (n, n) torch.zeros(n, m) # creates a torch tensor of zeros with shape (n, m) torc...
Join discussionAug 9, 2023 · 1 min read · A loss function is a function L:(z,y)∈R×Y⟼L(z,y)∈R that takes as inputs the predicted value z corresponding to the real data value y and outputs how different they are. The common loss functions are summed up in the table below: Least squared errorLo...
Join discussionNov 15, 2021 · 1 min read · If you want to have a fix for it, install and use mysql2 (instead of mysql) and use: npm un mysql && npm i mysql2 and mysql = require('mysql2');
Join discussion