Skip to main content

Module dcls

Module dcls 

Source
Expand description

Bit-true Q8.8 reference for the delay-coded learnable-spike tent kernel.

Structsยง

DclsBatchResult
Per-channel results of a batched DCLS-max tent contraction.
DclsForwardResult
Saturating result of one DCLS tent-kernel contraction.
DclsLayerConfig
Configuration for the bit-true DCLS Q8.8 forward pass.

Enumsยง

DclsError
DCLS arithmetic contract errors.

Constantsยง

DEFAULT_ACCUMULATOR_WIDTH
Default accumulator width for Q16.16 DCLS accumulators.
DEFAULT_DATA_WIDTH
Default fixed-point data width for DCLS weights and outputs.
DEFAULT_FRACTION
Default fractional precision for Q8.8 DCLS contracts.
I16_MAX_Q16_16 ๐Ÿ”’
I16_MIN_Q16_16 ๐Ÿ”’
I32_MAX_AS_I64 ๐Ÿ”’
I32_MIN_AS_I64 ๐Ÿ”’
Q88_ONE ๐Ÿ”’

Functionsยง

dcls_max_forward_batch_q88
Execute the DCLS-max tent contraction across many output channels.
dcls_max_forward_q88
Execute the DCLS Q8.8 tent contraction with a Q16.16 accumulator.
dcls_max_forward_q88_with_config
Execute the DCLS Q8.8 tent contraction with an explicit format contract.
saturate_i32 ๐Ÿ”’
saturate_q88_output ๐Ÿ”’
tent_gate_q88
Return the Q8.8 triangular tent gate for a tap delay index.