Whether the OperatorBase needs an initial interface?
Created by: 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?