Hyperbolic Tangent
⏳ PENDING — not yet measured| Operation | Tanh (bpd_tanh) |
|---|---|
| Formula | f(x) = (exp(x) - exp(-x)) / (exp(x) + exp(-x)) |
| Category | Transcendental (exp) |
This is the backend-neutral op_expr fact that specifies the operation. The same term is lowered to LLVM IR, CUDA C, MLIR, and every other backend — one specification, many targets.
op_expr(bpd_tanh,
call(tanh, var)).
| Backend | Rust/Oxide (rust_oxide) |
|---|---|
| Target | gpu |
| Description | Rust/cuda-oxide. Compiled with rustc + cuda-oxide runtime. |
This (operation, backend) pair has not yet been measured. When the backend emitter and verification infrastructure are ready, this cell will be tested against the PyTorch reference.