MindSpore
mindspore
mindspore.nn
mindspore.ops
mindspore.ops.primitive
mindspore.mint
mindspore.amp
mindspore.train
mindspore.communication
mindspore.communication.comm_func
mindspore.common.initializer
mindspore.hal
mindspore.dataset
mindspore.dataset.transforms
mindspore.mindrecord
mindspore.nn.probability
mindspore.rewrite
mindspore.multiprocessing
mindspore.boost
mindspore.numpy
mindspore.scipy
mindspore.utils
mindspore.experimental
环境变量
MindSpore
»
API 文档
»
mindspore
»
mindspore.Tensor
»
mindspore.Tensor.flatten
查看页面源码
mindspore.Tensor.flatten
mindspore.Tensor.
flatten
(
order
=
'C'
,
*
,
start_dim
=
0
,
end_dim
=
-
1
)
[源代码]
详情请参考
mindspore.ops.flatten()
。