type(layer) <class 'torch.nn.modules.linear.Linear'>. Surprise! nn. ... Module has a __call__() magic method that calls the .forward() .
確定! 回上一頁