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

Test topology pruning #179

Merged
merged 22 commits into from Jun 13, 2019
Merged

Test topology pruning #179

merged 22 commits into from Jun 13, 2019

Conversation

xadupre
Copy link
Collaborator

@xadupre xadupre commented Jun 12, 2019

No description provided.

tests/test_topology_prune.py Outdated Show resolved Hide resolved
op_input = operator.inputs[0]
N = op_input.type.shape[0]
C = op_input.type.shape[1]
operator.outputs[0].type = FloatTensorType([N, C])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need N and C here? We could just write:
operator.outputs[0].type = FloatTensorType(op_input.type.shape), couldn't we?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know. I update the master branch on my repo and I create new branches with git checkout -b …

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prabhat00155
Copy link
Contributor

Why do you have so many commits in the PR, may be clean up your branch?

@xadupre xadupre merged commit 4200f11 into onnx:master Jun 13, 2019
@xadupre xadupre deleted the prune branch September 30, 2019 14:42
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.

None yet

3 participants