[nfc] fix typo colossalai/shardformer/ (#5133)

This commit is contained in:
digger yu
2024-01-04 16:21:55 +08:00
committed by GitHub
parent 451e9142b8
commit b0b53a171c
4 changed files with 6 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ def set_obj_list_element(obj, attr: str, value):
r"""
Set the element to value of a list object
It used like set_obj_list_element(obj, 'lyaers[0]', new_layer), it will set obj.layers[0] to value
It used like set_obj_list_element(obj, 'layers[0]', new_layer), it will set obj.layers[0] to value
Args:
obj (object): The object to set