Skip to content

LoDTensor can't get number of elements levelwise #4405

@Superjomn

Description

@Superjomn

In varient length RNN, it is necessary to sort the sentences in a LoDTensor by the number of elements first, but the interfaces of LodTensor can not support this.

It is better to add a method to LodTensor.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions