mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-21 01:24:04 +00:00
[doc] update rst and docstring (#1351)
* update rst * add zero docstr * fix docstr * remove fx.tracer.meta_patch * fix docstr * fix docstr * update fx rst * fix fx docstr * remove useless rst
This commit is contained in:
@@ -26,7 +26,7 @@ def named_params_with_colotensor(
|
||||
(string, Union[Tensor, ColoTensor]): Tuple containing
|
||||
the name and parameter (or ColoTensor parameter)
|
||||
|
||||
Example::
|
||||
Example:
|
||||
|
||||
>>> model = torch.nn.Linear(*linear_size)
|
||||
>>> delattr(model.weight)
|
||||
|
Reference in New Issue
Block a user