adjust format of api
This commit is contained in:
parent
19e2e063c9
commit
d91bf52e09
|
@ -133,14 +133,15 @@ class ConvertNetUtils():
|
|||
This interface is used to convert a network to thor layer network, in order to calculate and store the
|
||||
second-order information matrix.
|
||||
|
||||
Notes:
|
||||
Note:
|
||||
This interface is automatically called by the second-order optimizer thor.
|
||||
|
||||
Args:
|
||||
net (Cell): network to be trained by the second-order optimizer thor.
|
||||
net (Cell): Network to be trained by the second-order optimizer thor.
|
||||
|
||||
Examples:
|
||||
>>> ConvertNetUtils().convert_to_thor_net(net)
|
||||
|
||||
"""
|
||||
|
||||
net.update_cell_prefix()
|
||||
|
|
Loading…
Reference in New Issue