Correct indentation in docstring

For some reason Sphinx extremely dislikes this and crashes.
This commit is contained in:
LysandreJik
2020-03-27 09:28:21 -04:00
parent 3ee431dd4c
commit e2c05f06ef

View File

@@ -231,7 +231,7 @@ class TFPreTrainedModel(tf.keras.Model, TFModelUtilsMixin):
def save_pretrained(self, save_directory): def save_pretrained(self, save_directory):
""" Save a model and its configuration file to a directory, so that it """ 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( assert os.path.isdir(
save_directory save_directory