quant_analytics_flow.analytics package¶
Submodules¶
quant_analytics_flow.analytics.constants module¶
quant_analytics_flow.analytics.matrixanalytics module¶
quant_analytics_flow.analytics.maxsoft module¶
-
hyperbolic(x)[source]¶ Using the hyperbolic function
\[f(x) = \frac{1}{2} \left(x + \sqrt{1 + x^2} \right)\]- Args:
x (tensor(shape=(…))): M-dimensional tensor
- Returns:
y (tensor(shape=(…))): Hyperbolic function
-
soft_max_hypterbolic(x, eps=1e-08)[source]¶ Using the hyperbolic function to approximate \(\max(x,0)\)
\[g_(x) = f(x/\epsilon)\cdot \epsilon\]- Args:
x (tensor(shape=(…))): M-dimensional tensor eps (float64): scaling parameter
- Returns:
y (tensor(shape=(…))): Hyperbolic function