forked from mindspore-Ecosystem/mindspore
modify the format of files 1126
This commit is contained in:
parent
ddedbceeed
commit
b30974c6d4
|
@ -78,7 +78,7 @@ mindspore.train
|
|||
----------
|
||||
|
||||
.. mscnautosummary::
|
||||
:toctree: mindspore
|
||||
:toctree: train
|
||||
|
||||
mindspore.train.ConvertModelUtils
|
||||
mindspore.train.ConvertNetUtils
|
||||
|
|
|
@ -40,6 +40,6 @@ mindspore.ops.Lstsq
|
|||
- **TypeError** - 若输入 `x` 或 `a` 不是Tensor。
|
||||
- **TypeError** - 若 `x` 或 `a` 的数据类型不是以下之一:float16、float32、float64。
|
||||
- **TypeError** - 若 `x` 或 `a` 的数据类型不同。
|
||||
- **TypeError** - 若 `x` 的维度不等于2。
|
||||
- **ValueError** - 若 `x` 的维度不等于2。
|
||||
- **ValueError** - 若 `a` 的维度不等于2或1。
|
||||
- **ValueError** - 若 `x` 与 `a` shape的第0维不相等。
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
mindspore.ops.Nonzero
|
||||
======================
|
||||
|
||||
.. py:class:: mindspore.nn.Nonzero
|
||||
.. py:class:: mindspore.ops.Nonzero
|
||||
|
||||
计算输入Tensor中所有非零元素的下标。
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ Thor
|
|||
---------------
|
||||
|
||||
.. autosummary::
|
||||
:toctree: mindspore
|
||||
:toctree: train
|
||||
:nosignatures:
|
||||
:template: classtemplate.rst
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ class Converter:
|
|||
corresponding to `model_file` parameter; 'model.Caffemodel' is model weight value file, corresponding to
|
||||
`weight_file` parameter. For example, "/home/user/model.caffemodel". Default: "".
|
||||
config_file (str, optional): Set the path of the configuration file of Converter can be used to post-training,
|
||||
offline split op to parallel, disable op fusion ability and set plugin so path. `config_file' uses the
|
||||
offline split op to parallel, disable op fusion ability and set plugin so path. `config_file` uses the
|
||||
`key = value` method to define the related parameters.
|
||||
For the configuration parameters related to post training quantization, please refer to
|
||||
`quantization <https://www.mindspore.cn/lite/docs/en/master/use/post_training_quantization.html>`_ .
|
||||
|
|
|
@ -1405,9 +1405,9 @@ class DataFormatVecPermute(Primitive):
|
|||
Permute input tensor from src_format to dst_format.
|
||||
|
||||
Args:
|
||||
src_format (str): An optional value for source data format. The format can be 'NHWC' and 'NCHW'.
|
||||
src_format (str, optional): An optional value for source data format. The format can be 'NHWC' and 'NCHW'.
|
||||
Default: 'NHWC'.
|
||||
dst_format (str): An optional value for destination data format. The format can be 'NHWC' and 'NCHW'.
|
||||
dst_format (str, optional): An optional value for destination data format. The format can be 'NHWC' and 'NCHW'.
|
||||
Default: 'NCHW'.
|
||||
|
||||
Inputs:
|
||||
|
@ -10215,8 +10215,8 @@ class FractionalMaxPoolWithFixedKsize(Primitive):
|
|||
TypeError: If data type of `random_samples` is not one of the following: float16, float32, float64.
|
||||
ValueError: If `ksize` is not a number and `ksize` is not a tuple of length 2.
|
||||
ValueError: If `output_shape` is not a number and `output_shape` is not a tuple of length 2.
|
||||
ValueError: If the sum of `ksize`, `output_shape` and -1 is larger than the corresponding
|
||||
dimension of `input_x`.
|
||||
ValueError: If the sum of `ksize` , `output_shape` and
|
||||
-1 is larger than the corresponding dimension of `input_x`.
|
||||
ValueError: If the dimension of `random_samples` is not 3.
|
||||
ValueError: If the first dimension size of `input_x` and `random_samples` is not equal.
|
||||
ValueError: If the second dimension size of `input_x` and `random_samples` is not equal.
|
||||
|
|
Loading…
Reference in New Issue