回答編集履歴
1
間違い修正
answer
CHANGED
@@ -15,4 +15,4 @@
|
|
15
15
|
|
16
16
|
[https://github.com/pytorch/pytorch/blob/v1.3.0/torch/nn/modules/module.py#L531](https://github.com/pytorch/pytorch/blob/v1.3.0/torch/nn/modules/module.py#L531)
|
17
17
|
|
18
|
-
と`__call__`が実装されているので、`
|
18
|
+
と`__call__`が実装されているので、`net(x)`は`net.__call__(x)`と同義です。
|