Skip to content

Whether the OperatorBase needs an initial interface? #2830

@qingqing01

Description

@qingqing01

Now the OperatorBase has one default empty constructor. And each operator will be created by calling this empty constructor in OpRegistry:: CreateOp(). Where to do the operations which only need to be done once in the operator? For example, we create an auxiliary object in the RNN operator. so, whether the OperatorBase needs an initial interface?

Metadata

Metadata

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