Skip to content
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

Merged

Conversation

jantonguirao
Copy link
Contributor

Signed-off-by: Joaquin Anton janton@nvidia.com

@jantonguirao jantonguirao requested review from mzient, JanuszL and a team January 29, 2019 09:57
@jantonguirao jantonguirao force-pushed the move_instantiate_operator_function branch from 8c66999 to 182d1dd Compare January 29, 2019 09:59
@jantonguirao
Copy link
Contributor Author

Build #619025

@@ -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>;
Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Contributor

@mzient mzient left a 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>
@jantonguirao jantonguirao force-pushed the move_instantiate_operator_function branch from 182d1dd to 89f7f6d Compare January 29, 2019 10:20
@jantonguirao
Copy link
Contributor Author

Build #619046

@jantonguirao jantonguirao merged commit ec7f106 into NVIDIA:master Jan 29, 2019
haoxintong pushed a commit to haoxintong/DALI that referenced this pull request Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants