Function Differences with torch.nn.ParameterList

View Source On Gitee

torch.nn.ParameterList

class torch.nn.ParameterList(parameters=None)

For more information, see torch.nn.ParameterList.

mindspore.ParameterTuple

class mindspore.ParameterTuple()

For more information, see mindspore.ParameterTuple.

Differences

PyTorch: Stores parameters of network into a list.

MindSpore:Stores parameters of network into a tuple.