Skip to content

LoDTensor::Slice() is void function without a new object returned #4344

Closed
@Superjomn

Description

@Superjomn

I found LoDTensor's SliceLevels and SliceInLevel are void functions, that's weried, a slice usually return a new object with less elements.

It might be better to rename to ShrinkXXX, the semantic is shrink this lod-tensor to be a smaller one.

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