modify the example of Parameter comment

This commit is contained in:
Payne 2020-08-20 18:54:09 +08:00
parent b60930452b
commit dd5e302854
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class Parameter(MetaTensor):
>>>
>>> def construct(self, x):
>>> out = self.matmul(self.weight, x)
>>> return out
>>> return out
>>> context.set_context(mode=context.GRAPH_MODE, device_target="CPU")
>>> net = Net()
>>> x = Tensor(np.ones((2,1)))