Ops¶
Pure functions used by the layers, including the signed-log transform.
polyweave.ops ¶
Low-level, reusable mathematical operations (pure functions).
signed_log1p ¶
sign(x) * log1p(|x|) — epsilon-free, exactly zero at the origin.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x
|
Tensor
|
input tensor. |
required |
Returns:
| Type | Description |
|---|---|
Tensor
|
Tensor of the same shape as |