forked from mindspore-Ecosystem/mindspore
fix api doc
This commit is contained in:
parent
ac15f3f551
commit
261aa30eea
|
@ -1591,9 +1591,9 @@ class SlicePatches(ImageTensorOperation):
|
|||
num_height (int, optional): The number of patches in vertical 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
|
||||
|
|
|
@ -71,7 +71,7 @@ class TFRecordToMR:
|
|||
source (str): the TFRecord file to be transformed.
|
||||
destination (str): the MindRecord file path to transform into.
|
||||
feature_dict (dict): a dictionary that states the feature type, and
|
||||
`VarLenFeature` is not supported.
|
||||
`VarLenFeature` is not supported.
|
||||
bytes_fields (list, optional): the bytes fields which are in `feature_dict` and can be images bytes.
|
||||
|
||||
Raises:
|
||||
|
|
Loading…
Reference in New Issue