mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
8 lines
191 B
Python
8 lines
191 B
Python
from torch.autograd import Variable
|
|
|
|
class Parameter(Variable):
|
|
|
|
def __init__(self, data, requires_grad=True):
|
|
super(Parameter, self).__init__(data, requires_grad=requires_grad)
|
|
|