Skip to content

Commit

Permalink
Fix typos (keras-team#6949)
Browse files Browse the repository at this point in the history
  • Loading branch information
taehoonlee authored and fchollet committed Jun 12, 2017
1 parent 11d9c99 commit 5012678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keras/legacy/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def recurrent_args_preprocessor(args, kwargs):
kwargs.pop('forget_bias_init')
warnings.warn('The `forget_bias_init` argument '
'has been ignored. Use `unit_forget_bias=True` '
'instead to intialize with ones.', stacklevel=3)
'instead to initialize with ones.', stacklevel=3)
if 'input_dim' in kwargs:
input_length = kwargs.pop('input_length', None)
input_dim = kwargs.pop('input_dim')
Expand Down Expand Up @@ -461,7 +461,7 @@ def convlstm2d_args_preprocessor(args, kwargs):
else:
warnings.warn('The `forget_bias_init` argument '
'has been ignored. Use `unit_forget_bias=True` '
'instead to intialize with ones.', stacklevel=3)
'instead to initialize with ones.', stacklevel=3)
args, kwargs, _converted = conv2d_args_preprocessor(args, kwargs)
return args, kwargs, converted + _converted

Expand Down

0 comments on commit 5012678

Please sign in to comment.