Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
e2c05f06
Commit
e2c05f06
authored
Mar 27, 2020
by
LysandreJik
Browse files
Correct indentation in docstring
For some reason Sphinx extremely dislikes this and crashes.
parent
3ee431dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/modeling_tf_utils.py
src/transformers/modeling_tf_utils.py
+2
-2
No files found.
src/transformers/modeling_tf_utils.py
View file @
e2c05f06
...
...
@@ -231,7 +231,7 @@ class TFPreTrainedModel(tf.keras.Model, TFModelUtilsMixin):
def
save_pretrained
(
self
,
save_directory
):
""" Save a model and its configuration file to a directory, so that it
can be re-loaded using the
`
:func:`~transformers.PreTrainedModel.from_pretrained`
`
class method.
can be re-loaded using the :func:`~transformers.PreTrainedModel.from_pretrained` class method.
"""
assert
os
.
path
.
isdir
(
save_directory
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment