Browse Source

[NFC] polish colossalai/context/random/__init__.py code style (#3327)

pull/3346/head
yuxuan-lou 2 years ago committed by GitHub
parent
commit
198a74b9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      colossalai/context/random/__init__.py

15
colossalai/context/random/__init__.py

@ -1,5 +1,16 @@
from ._helper import (seed, set_mode, with_seed, add_seed, get_seeds, get_states, get_current_mode, set_seed_states,
sync_states, moe_set_seed, reset_seeds)
from ._helper import (
add_seed,
get_current_mode,
get_seeds,
get_states,
moe_set_seed,
reset_seeds,
seed,
set_mode,
set_seed_states,
sync_states,
with_seed,
)
__all__ = [
'seed', 'set_mode', 'with_seed', 'add_seed', 'get_seeds', 'get_states', 'get_current_mode', 'set_seed_states',

Loading…
Cancel
Save