You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class_embed is a linear layer which needs gradients to be updated. output_proposals and memory are computed using parameters that need gradients to be computed for updation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I need help to port this piece of code to MLX ensuring that gradients are correctly computed using nn.value_and_grad.
class_embed is a linear layer which needs gradients to be updated. output_proposals and memory are computed using parameters that need gradients to be computed for updation.
This is what I have done:
I'm facing this error during back prop:
ValueError: [Primitive::vjp] Not implemented for ArgPartition.
Beta Was this translation helpful? Give feedback.
All reactions