Skip to content

Commit 1b28739

Browse files
committed
update doc string
1 parent 994b52f commit 1b28739

File tree

1 file changed

+5
-1
lines changed
  • python/paddle/fluid/layers

1 file changed

+5
-1
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3289,7 +3289,7 @@ def save(x, file_path, overwrite=True):
32893289

32903290
def save_combine(x, file_path, overwrite=True):
32913291
"""
3292-
Saves a variable as a file.
3292+
Saves a list of variables into a single file.
32933293
32943294
Args:
32953295
x(list): A list of Tensor/LoDTensor to be saved together in a single file.
@@ -3309,6 +3309,8 @@ def save_combine(x, file_path, overwrite=True):
33093309

33103310
def load(out, file_path):
33113311
"""
3312+
Loads a variable from a given file.
3313+
33123314
Args:
33133315
out(variable): The variable to be read from the disk file.
33143316
file_path(str): The path of the disk file.
@@ -3323,6 +3325,8 @@ def load(out, file_path):
33233325

33243326
def load_combine(out, file_path):
33253327
"""
3328+
Loads a list of vairables from a single file.
3329+
33263330
Args:
33273331
out(list): The list of variables to be read from the disk file.
33283332
file_path(str): The path of the disk file.

0 commit comments

Comments
 (0)