Sigmoid Activation (Logistic Function)
⏳ PENDING — not yet measured| Operation | Sigmoid (bpd_sigmoid) |
|---|---|
| Formula | f(x) = 1 / (1 + 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_sigmoid,
div(const(1.0),
add(const(1.0), call(exp, neg(var))))).
| Backend | LLVM CPU (llvm_cpu) |
|---|---|
| Target | cpu |
| Description | LLVM IR targeting x86-64 CPU. Compiled with llc + clang. |
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.