Skip to content

Conversation

@yf225
Copy link
Contributor

@yf225 yf225 commented Nov 7, 2019

Stack from ghstack:

This PR adds functional overloads that take the full set of arguments (instead of just Options) for the following functionals:

  • activation
  • batchnorm
  • distance
  • embedding

These new functionals lives in the torch::nn::functional::detail namespace and they are only meant to be called from the module forward methods (i.e. they are not public API). This is in preparation for the future change where we make module Options and functional Options two different classes, because if the module forward method has to construct a new functional Options object every time it runs it will be pretty silly and bad performance.

Differential Revision: D18376976

…ce, embedding"

Add functional overloads for activation, batchnorm, distance, embedding

gh-metadata: pytorch pytorch 29358 gh/yf225/37/head
@yf225 yf225 added the module: cpp Related to C++ API label Nov 7, 2019
@yf225 yf225 changed the title Add functional overloads for activation, batchnorm, distance, embedding [C++ API] Add functional overloads for activation, batchnorm, distance, embedding Nov 7, 2019
@yf225 yf225 requested review from pbelevich and removed request for ebetica and goldsborough November 7, 2019 05:40
@kostmo
Copy link
Member

kostmo commented Nov 7, 2019

CircleCI build failures summary

As of commit 2b21de5:

  • 0/1 recognized as flaky
  • 1/1 failures introduced in this PR

Here are the reasons each build failed.


This comment was automatically generated by Dr. CI.
Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

@facebook-github-bot
Copy link
Contributor

@yf225 merged this pull request in b24b967.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: cpp Related to C++ API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants