-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make OperatorBase public and move InstantiateOperator to operator.h #487
Make OperatorBase public and move InstantiateOperator to operator.h #487
Conversation
8c66999
to
182d1dd
Compare
Build #619025 |
dali/pipeline/operators/operator.h
Outdated
@@ -256,6 +256,9 @@ void CollectPointersForExecution(size_t batch_size, | |||
const TensorList<GPUBackend> &input, vector<const uint8 *> *inPtrs, | |||
TensorList<GPUBackend> &output, vector<uint8 *> *outPtrs); | |||
|
|||
using OpPtr = std::unique_ptr<OperatorBase>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if declaring OpPtr
here is really a good idea. It's a very short name, that can easily collide with something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, I'll remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove OpPtr
. Other than that, I approve.
Signed-off-by: Joaquin Anton <janton@nvidia.com>
182d1dd
to
89f7f6d
Compare
Build #619046 |
…VIDIA#487) Signed-off-by: Joaquin Anton <janton@nvidia.com>
Signed-off-by: Joaquin Anton janton@nvidia.com