2021-11-29 11:36:30 +08:00
|
|
|
mindspore
|
|
|
|
|
=========
|
|
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
数据表达
|
|
|
|
|
---------
|
|
|
|
|
|
2022-02-11 09:07:57 +08:00
|
|
|
张量
|
2022-11-24 16:58:30 +08:00
|
|
|
^^^^^
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2021-11-29 11:36:30 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2021-12-04 20:36:47 +08:00
|
|
|
mindspore.Tensor
|
2022-02-25 17:24:38 +08:00
|
|
|
mindspore.COOTensor
|
|
|
|
|
mindspore.CSRTensor
|
2021-11-29 11:36:30 +08:00
|
|
|
mindspore.RowTensor
|
|
|
|
|
mindspore.SparseTensor
|
2021-12-04 20:36:47 +08:00
|
|
|
|
2022-02-11 09:07:57 +08:00
|
|
|
参数
|
2022-11-24 16:58:30 +08:00
|
|
|
^^^^^
|
2021-12-04 20:36:47 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2021-12-04 20:36:47 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
|
|
|
|
mindspore.Parameter
|
|
|
|
|
mindspore.ParameterTuple
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-02-11 09:07:57 +08:00
|
|
|
数据类型
|
2022-11-24 16:58:30 +08:00
|
|
|
^^^^^^^^^
|
2021-12-04 11:21:09 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2021-12-04 11:21:09 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2021-12-04 20:36:47 +08:00
|
|
|
mindspore.dtype
|
2021-12-04 11:21:09 +08:00
|
|
|
mindspore.dtype_to_nptype
|
2022-02-11 15:23:20 +08:00
|
|
|
mindspore.dtype_to_pytype
|
2021-12-04 11:21:09 +08:00
|
|
|
mindspore.pytype_to_dtype
|
2022-02-11 15:23:20 +08:00
|
|
|
mindspore.get_py_obj_dtype
|
2023-01-06 09:49:09 +08:00
|
|
|
mindspore.QuantDtype
|
2021-12-04 11:21:09 +08:00
|
|
|
|
2022-05-09 15:43:12 +08:00
|
|
|
运行环境
|
|
|
|
|
---------
|
|
|
|
|
|
|
|
|
|
.. mscnautosummary::
|
|
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2022-05-10 11:59:45 +08:00
|
|
|
mindspore.set_context
|
2022-05-09 15:43:12 +08:00
|
|
|
mindspore.get_context
|
|
|
|
|
mindspore.set_auto_parallel_context
|
2022-05-10 11:59:45 +08:00
|
|
|
mindspore.get_auto_parallel_context
|
|
|
|
|
mindspore.reset_auto_parallel_context
|
2022-05-09 15:43:12 +08:00
|
|
|
mindspore.ParallelMode
|
2022-05-10 11:59:45 +08:00
|
|
|
mindspore.set_ps_context
|
|
|
|
|
mindspore.get_ps_context
|
|
|
|
|
mindspore.reset_ps_context
|
2022-05-11 10:06:02 +08:00
|
|
|
mindspore.set_algo_parameters
|
|
|
|
|
mindspore.get_algo_parameters
|
|
|
|
|
mindspore.reset_algo_parameters
|
2022-05-09 15:43:12 +08:00
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
随机种子
|
|
|
|
|
---------
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2021-11-29 11:36:30 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
mindspore.set_seed
|
|
|
|
|
mindspore.get_seed
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-02-11 09:07:57 +08:00
|
|
|
序列化
|
|
|
|
|
-------
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2021-11-29 11:36:30 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2022-06-02 19:13:37 +08:00
|
|
|
mindspore.async_ckpt_thread_status
|
|
|
|
|
mindspore.build_searched_strategy
|
|
|
|
|
mindspore.convert_model
|
2021-12-02 16:53:32 +08:00
|
|
|
mindspore.export
|
2021-12-08 16:27:04 +08:00
|
|
|
mindspore.load
|
2022-06-02 19:13:37 +08:00
|
|
|
mindspore.load_checkpoint
|
2022-02-11 15:23:20 +08:00
|
|
|
mindspore.load_distributed_checkpoint
|
2022-06-02 19:13:37 +08:00
|
|
|
mindspore.load_param_into_net
|
2022-10-13 16:00:21 +08:00
|
|
|
mindspore.merge_pipeline_strategys
|
2022-06-02 19:13:37 +08:00
|
|
|
mindspore.merge_sliced_parameter
|
2022-10-21 11:10:23 +08:00
|
|
|
mindspore.obfuscate_model
|
2022-06-02 19:13:37 +08:00
|
|
|
mindspore.parse_print
|
2022-09-20 16:15:35 +08:00
|
|
|
mindspore.rank_list_for_transform
|
2022-03-15 17:35:01 +08:00
|
|
|
mindspore.restore_group_info_list
|
2022-06-02 19:13:37 +08:00
|
|
|
mindspore.save_checkpoint
|
2022-09-20 16:15:35 +08:00
|
|
|
mindspore.transform_checkpoint_by_rank
|
|
|
|
|
mindspore.transform_checkpoints
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
自动微分
|
|
|
|
|
----------------
|
2022-05-10 11:59:45 +08:00
|
|
|
|
|
|
|
|
.. mscnautosummary::
|
|
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
mindspore.grad
|
|
|
|
|
mindspore.value_and_grad
|
2023-01-03 14:49:50 +08:00
|
|
|
mindspore.get_grad
|
2022-11-24 16:58:30 +08:00
|
|
|
mindspore.jacfwd
|
|
|
|
|
mindspore.jacrev
|
|
|
|
|
mindspore.jvp
|
|
|
|
|
mindspore.vjp
|
|
|
|
|
|
|
|
|
|
并行优化
|
|
|
|
|
---------
|
|
|
|
|
|
|
|
|
|
自动向量化
|
|
|
|
|
^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
.. mscnautosummary::
|
|
|
|
|
:toctree: mindspore
|
|
|
|
|
|
|
|
|
|
mindspore.vmap
|
|
|
|
|
|
|
|
|
|
并行
|
|
|
|
|
^^^^^
|
|
|
|
|
|
|
|
|
|
.. mscnautosummary::
|
|
|
|
|
:toctree: mindspore
|
|
|
|
|
|
|
|
|
|
mindspore.shard
|
2022-05-10 11:59:45 +08:00
|
|
|
|
2022-02-11 09:07:57 +08:00
|
|
|
即时编译
|
|
|
|
|
--------
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2021-11-29 11:36:30 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2022-07-12 23:23:14 +08:00
|
|
|
mindspore.JitConfig
|
2022-10-18 09:01:45 +08:00
|
|
|
mindspore.jit
|
|
|
|
|
mindspore.jit_class
|
2022-03-16 14:43:44 +08:00
|
|
|
mindspore.ms_class
|
2022-10-18 09:01:45 +08:00
|
|
|
mindspore.ms_function
|
2022-11-24 16:58:30 +08:00
|
|
|
mindspore.ms_memory_recycle
|
2022-05-18 09:38:09 +08:00
|
|
|
mindspore.mutable
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
工具
|
|
|
|
|
-----
|
|
|
|
|
|
|
|
|
|
数据处理工具
|
|
|
|
|
^^^^^^^^^^^^^
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2021-11-29 11:36:30 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
mindspore.DatasetHelper
|
|
|
|
|
mindspore.connect_network_with_dataset
|
|
|
|
|
mindspore.data_sink
|
2021-12-08 16:27:04 +08:00
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
调试调优
|
|
|
|
|
^^^^^^^^^
|
2021-11-29 11:36:30 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2021-11-29 11:36:30 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
mindspore.Profiler
|
|
|
|
|
mindspore.SummaryCollector
|
|
|
|
|
mindspore.SummaryLandscape
|
|
|
|
|
mindspore.SummaryRecord
|
|
|
|
|
mindspore.set_dump
|
2022-02-11 17:34:24 +08:00
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
日志
|
|
|
|
|
^^^^^
|
2022-02-11 17:34:24 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2022-02-11 17:34:24 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
mindspore.get_level
|
|
|
|
|
mindspore.get_log_config
|
2022-02-11 17:34:24 +08:00
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
|
|
|
|
|
安装验证
|
|
|
|
|
^^^^^^^^^
|
2022-02-11 17:34:24 +08:00
|
|
|
|
2022-02-15 16:22:46 +08:00
|
|
|
.. mscnautosummary::
|
2022-02-11 17:34:24 +08:00
|
|
|
:toctree: mindspore
|
|
|
|
|
|
2022-11-24 16:58:30 +08:00
|
|
|
mindspore.run_check
|