Skip to content

Commit

Permalink
refactor: change from kwargs to fn
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchieng committed Oct 30, 2016
1 parent d081fc4 commit 627e5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cifar_wide_resnet_tl.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def residual_block(x, count, nb_filters=16, subsample_factor=1):
shortcut = tl.layers.LambdaLayer(
shortcut,
zero_pad_channels,
kwargs={'pad': nb_filters - prev_nb_channels},
fn_args={'pad': nb_filters - prev_nb_channels},
name=name_lambda)

name_norm = 'norm' + str(count)
Expand Down

0 comments on commit 627e5b6

Please sign in to comment.