Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Added Tanh lowering from standard to LLVM. #312

Closed
wants to merge 5 commits into from

Conversation

dfki-ehna
Copy link
Contributor

No description provided.

using LLVMFuncOpT = LLVM::LLVMFuncOp;
using LLVMTypeT = LLVM::LLVMType;

assert(operands.size() == 1 && "tanh takes one operand");
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be handled by the verifier, we don't duplicate invariant checks in general.
(Alex is fixing it on integration, just saying FYI for future patches)

tensorflow-copybara pushed a commit to tensorflow/tensorflow that referenced this pull request Dec 12, 2019
…hf`.

Closes #312

COPYBARA_INTEGRATE_REVIEW=tensorflow/mlir#312 from dfki-ehna:tanh 9e89b072ff91ff390ad739501745114feb3ac856
PiperOrigin-RevId: 285205674
Change-Id: I826e66194ad5827c24c3631c8f9817db6e9b4ff6
dfki-jugr pushed a commit to dfki-jugr/mlir that referenced this pull request Dec 13, 2019
…hf`.

Closes tensorflow#312

COPYBARA_INTEGRATE_REVIEW=tensorflow#312 from dfki-ehna:tanh 9e89b07
PiperOrigin-RevId: 285205674
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Dec 24, 2019
…hf`.

Closes tensorflow/mlir#312

COPYBARA_INTEGRATE_REVIEW=tensorflow/mlir#312 from dfki-ehna:tanh 9e89b072ff91ff390ad739501745114feb3ac856
PiperOrigin-RevId: 285205674
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants