pytorch
__call__ : Callable[..., Any] = _call_impl
means __call__
is an aliase of _call_impl
, it accepts any kinds of arguments (...
), return type is not defined (Any
).
please have a look on: https://docs.python.org/3/library/typing.html?highlight=typing