Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowZheng committed Apr 12, 2021
1 parent ff52f7d commit bfa764e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cnn/test_weight_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def test_initialize():
])
initialize(foonet, init_cfg)

# test override with args except type
# test override with args except type key
with pytest.raises(ValueError):
init_cfg = dict(
type='Constant',
Expand All @@ -411,7 +411,7 @@ def test_initialize():
override=dict(name='conv2d_2', val=3, bias=4))
initialize(foonet, init_cfg)

# test override wiout name
# test override without name
with pytest.raises(ValueError):
init_cfg = dict(
type='Constant',
Expand Down

0 comments on commit bfa764e

Please sign in to comment.