Deepity
Ultra-fast, SIMD-accelerated Predictive Coding
Loading...
Searching...
No Matches
Activations.h
Go to the documentation of this file.
1#pragma once
2
27
Function-pointer types and ActivationType <-> function dispatch tables shared by every activation fam...
GELU (tanh approximation) and its derivative (plain and two-buffer variants), with AVX512/AVX2/SSE pa...
The identity activation and its (constant) derivative.
ReLU and its derivative (plain and two-buffer variants), with AVX512/AVX2/SSE paths and a scalar tail...
Logistic sigmoid and Elliot ("fast") sigmoid, and their derivatives (plain and two-buffer variants),...
tanh and its derivative (plain and two-buffer variants), with AVX512/AVX2/SSE paths and a scalar tail...
SIMD-vectorized exp/log helpers (AVX512/AVX2/SSE with a scalar tail). Currently unused by the rest of...