Skip to main content

Parameter

A named, registered tensor slot on a module.

The class carries no behavior of its own; it is the marker type module registration keys on, holding the payload at .tensor.

__init__

__init__(self, tensor: 'Tensor') -> 'None'

Initialize self. See help(type(self)) for accurate signature.