Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowZheng committed Mar 22, 2021
1 parent fbaedd6 commit d4bca2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cnn/test_weight_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def test_kaiminginit():


def test_caffe2xavierinit():
"""test Caffe2XavierInit"""
"""test Caffe2XavierInit."""
model = nn.Sequential(nn.Conv2d(3, 1, 3), nn.ReLU(), nn.Linear(1, 2))
func = Caffe2XavierInit(bias=0.1, layer='Conv2d')
func(model)
Expand Down

0 comments on commit d4bca2c

Please sign in to comment.