fix api issue
This commit is contained in:
parent
7b20a5adf7
commit
fb7c9a6d09
|
@ -1557,11 +1557,11 @@ class SlicePatches(ImageTensorOperation):
|
|||
|
||||
Args:
|
||||
num_height (int, optional): The number of patches in vertical direction (default=1).
|
||||
num_height (int, optional): The number of patches in horizontal direction (default=1).
|
||||
num_width (int, optional): The number of patches in horizontal direction (default=1).
|
||||
slice_mode (Inter mode, optional): An mode represents pad or drop (default=SliceMode.PAD).
|
||||
It can be any of [SliceMode.PAD, SliceMode.DROP].
|
||||
It can be any of [SliceMode.PAD, SliceMode.DROP].
|
||||
fill_value (int, optional): The border width in number of pixels in
|
||||
right and bottom direction if slice_mode is set to be SliceMode.PAD (default=0).
|
||||
right and bottom direction if slice_mode is set to be SliceMode.PAD (default=0).
|
||||
|
||||
Examples:
|
||||
>>> # default padding mode
|
||||
|
|
|
@ -37,7 +37,7 @@ class FileWriter:
|
|||
|
||||
Note:
|
||||
After the MindRecord file is generated, if the file name is changed,
|
||||
the file may fail to be read.
|
||||
the file may fail to be read.
|
||||
|
||||
Args:
|
||||
file_name (str): File name of MindRecord file.
|
||||
|
|
Loading…
Reference in New Issue