One thing here we missed from the scratch implementation is attaching the grad to weight parameters
Does this automatically taken care of by
Yes. When you are using Gluon you actually never call .attach_grad()
In 3.3.2, the following statement should be removed:
data is often used as a variable name, we will replace it with the pseudonym
gdata (adding the first letter of Gluon), to differentiate the imported
data module from a variable we might define.
It was used in an old version.
Is anybody receiving a
ValueError In HybridBlock, there must be one NDArray or one Symbol in the input. Please check the type of the args. when using HuberLoss()?
Thank you very much
I received a TypeError instead of ValueError. According to the explain given by the tracer, this eror is caused by the ‘abs’ operator used in this loss function. It can only accept legacy ndarray.
@gold_piggy d2l version is 0.11.1 and mxnet version is mxnet-cu101(1.6.0b20191122)
Hi @vermicelli, thanks for your feedback. I will correct it!