This repository was archived by the owner on Jan 24, 2024. It is now read-only.
This repository was archived by the owner on Jan 24, 2024. It is now read-only.
Delete VarDesc in Variable #21
Closed
Description
https://github.com/PaddlePaddle/tape/blob/develop/src/variable.h#L84
Tensor
and SelectedRow
already have dim
and dtype
, doesn't need duplicated information VarDesc
.
The problem is:
- Without
OpDesc
, InferShape only exists inOperatorKernel
. So maybe onlyOperatorWithKernel
can be added to tape. InferVarType
only exists in theDesc
level. There is no runtimeInferVarType
.
Metadata
Metadata
Assignees
Labels
No labels