import torch. from ._functions import Scatter, Gather. def is_namedtuple(obj):. # Check if type was created from collections.namedtuple or a typing.
確定! 回上一頁