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.reverse_sequence
查看页面源码
mindspore.Tensor.reverse_sequence
Tensor.
reverse_sequence
(
seq_lengths
,
seq_dim
=
0
,
batch_dim
=
0
)
[源代码]
详情请参考
mindspore.ops.reverse_sequence()
。