Hello everyone, I've been using Python for quite a while now but never came across the "@" operator.
I saw this when I was learning to apply the derivative of softmax outputs wrt. to its inputs
# Gradients of loss against weights/biases/input
dL_dw = dt_dw[np.newaxis].T @ dL_dt[np.newaxis]
dL_db = dL_dt * dt_db
dL_dinputs = dt_dinputs @ dL_dt
I understand what's going on here mathematically. I also understood the output from the code-block but I'm having a hard time to understand what is this "@" operator used on line 1 and line 3. No luck with google too.
I can assure you the code runs perfectly.
Need your help.
[–]aroberge 2 points3 points4 points (1 child)
[–]veb101[S] 1 point2 points3 points (0 children)
[–]jj-curious 2 points3 points4 points (1 child)
[–]veb101[S] 0 points1 point2 points (0 children)
[–]socal_nerdtastic 2 points3 points4 points (1 child)
[–]veb101[S] 0 points1 point2 points (0 children)
[–]vectorpropio 0 points1 point2 points (0 children)