Skip to content

Commit 5012678

Browse files
taehoonleefchollet
authored andcommitted
Fix typos (#6949)
1 parent 11d9c99 commit 5012678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keras/legacy/interfaces.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def recurrent_args_preprocessor(args, kwargs):
161161
kwargs.pop('forget_bias_init')
162162
warnings.warn('The `forget_bias_init` argument '
163163
'has been ignored. Use `unit_forget_bias=True` '
164-
'instead to intialize with ones.', stacklevel=3)
164+
'instead to initialize with ones.', stacklevel=3)
165165
if 'input_dim' in kwargs:
166166
input_length = kwargs.pop('input_length', None)
167167
input_dim = kwargs.pop('input_dim')
@@ -461,7 +461,7 @@ def convlstm2d_args_preprocessor(args, kwargs):
461461
else:
462462
warnings.warn('The `forget_bias_init` argument '
463463
'has been ignored. Use `unit_forget_bias=True` '
464-
'instead to intialize with ones.', stacklevel=3)
464+
'instead to initialize with ones.', stacklevel=3)
465465
args, kwargs, _converted = conv2d_args_preprocessor(args, kwargs)
466466
return args, kwargs, converted + _converted
467467

0 commit comments

Comments
 (0)