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

Refine NetOp #1

Merged
merged 1 commit into from
Jul 15, 2017
Merged

Refine NetOp #1

merged 1 commit into from
Jul 15, 2017

Conversation

reyoung
Copy link

@reyoung reyoung commented Jul 15, 2017

  • OperatorBase should not store OpDesc, because not All op contains an
    OpDesc and not all ops create from OpDesc.
    • Networks do not contain OpDesc, and do not created by OpDesc
  • Do not register Network to OpRegistry.
    • The network is directly created by user in Python. Not from
      registry.
  • Correctly handle the inputs and outputs of a Network.
    • Add CompleteAddOp() methods
  • Remove AddOp(OpDesc&). All op are added by pointer.
  • Rewrite unit test for truely tested what networks do.
  • Remove DemoOp and DemoOpTest because it is useless and break the
    CI

* OperatorBase should not store OpDesc, because not All op contains an
  OpDesc and not all ops create from OpDesc.
  * Networks do not contain OpDesc, and do not created by OpDesc
* Do not register Network to OpRegistry.
  * The network is directly created by user in Python. Not from
    registry.
* Correctly handle the `inputs` and `outputs` of a Network.
  * Add CompleteAddOp() methods
* Remove `AddOp(OpDesc&)`. All op are added by pointer.
* Rewrite unit test for truely tested what networks do.
* Remove `DemoOp` and `DemoOpTest` because it is useless and break the
  CI
@reyoung
Copy link
Author

reyoung commented Jul 15, 2017

CI has been passed.

@jacquesqiao jacquesqiao merged commit 796b763 into jacquesqiao:net-op Jul 15, 2017
jacquesqiao pushed a commit that referenced this pull request Sep 6, 2017
Invoke check_grad many times for no_grad_set
jacquesqiao pushed a commit that referenced this pull request Sep 15, 2017
jacquesqiao pushed a commit that referenced this pull request Sep 19, 2017
jacquesqiao pushed a commit that referenced this pull request Oct 16, 2017
@reyoung reyoung deleted the net-op branch October 28, 2017 22:18
jacquesqiao pushed a commit that referenced this pull request Nov 27, 2017
jacquesqiao pushed a commit that referenced this pull request Dec 5, 2017
jacquesqiao pushed a commit that referenced this pull request May 17, 2018
jacquesqiao pushed a commit that referenced this pull request Jun 10, 2018
jacquesqiao pushed a commit that referenced this pull request Jul 11, 2018
jacquesqiao pushed a commit that referenced this pull request Oct 5, 2018
jacquesqiao pushed a commit that referenced this pull request Dec 18, 2018
jacquesqiao pushed a commit that referenced this pull request Jan 13, 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.

2 participants