question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Want contribution for providing more primitive operations.

See original GitHub issue

Background

It would be helpful that Chainer had more primitive operations, especially driving novel directions of deep learning research. Providing flexibility in such is one of Chainers most important objectives.

Goal

Because we have quite restricted development resource, we would appreciate if we had Chainer community’s precious contribution to provide more primitive operations.

What primitive operations Chainer does not support now?

Here shows a list of primitive operations that Chainer does not provide currently compared with other major deep learning frameworks.

https://docs.google.com/spreadsheets/d/1tHQcuKhqYiDUo57uOWOtW_mUqrHmsP9fZzaQRA2dW5k/edit?usp=sharing

How to implement a primitive operation?

Sample works There are some PRs that implements primitive operations and you can follow with.

Overall steps The following are overall steps to implement a Chainer function.

  1. Keep a WIP pull request
    • Keep a work-in-progress pull request to show you are on work for a primitive operations.
    • You can make an empty commit with git --allow-empty -m "Empty commit to keep PR." to send an empty pull request to begin with.
  2. Implement and test a Chainer function.
    • Implement a Chainer function and its test. You need to implement forward computation and backward computation for CPU and GPU respectively.
    • For detail on how to write a Chainer function, please see the following tutorial. http://docs.chainer.org/en/stable/tutorial/function.html
  3. Document a Chainer function.
    • Write a documentation for your Chainer function and add it to sphinx source file.
  4. Take a review.
    • Ask Chainer team to review your PR. After your PR passes the review, it is merged into Chainer’s master branch.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
aksub99commented, Feb 23, 2019

I’d like to implement ELiSH activation function as introduced in this paper. https://arxiv.org/abs/1808.00783

1reaction
UmashankarTriforcecommented, Aug 10, 2019

Anyway, I will review the list soon.

I’m adding whatever I see has changed in chainer to the list too 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Primitive Operation - an overview | ScienceDirect Topics
NTC is a primitive operation, that performs a recognition of the same sort as is performed in the matching on the condition side....
Read more >
How many primitive operations are in this statement? [closed]
Primitive operation: Basic computations performed by an algorithm in pseudocode. For the code above I got a count of 6 operations. I have ......
Read more >
What is the minimum set of primitive operations for a quantum ...
In 1938, in a famous paper, Alan Turing proved that you could simulate any Turing machine with the following six primitive operations:
Read more >
5057(F) A cryptographic primitive operation failed. (Windows 10)
In this article. This event generates if there's a CNG primitive operation failure. For more information about Cryptographic Next Generation ( ...
Read more >
Methods of primitives - The Modern JavaScript Tutorial
JavaScript allows us to work with primitives (strings, numbers, etc.) as if they were objects. They also provide methods to call as such....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found