RollingLogSignature¶
Device-bound rolling evaluation on fixed raw Pascal codes.
Input: increments (batch, time, channels). Output: quotient coordinates (batch, windows, dimension), in exactly the supplied LieQuotientPlan basis. Compilation is separate from evaluation and never enumerates ambient words. Only known Pascal-stable rules are accepted, including their conjunctions.
Source code in src/tensorsig/offset_coded_signatures/rolling_logsignature/__init__.py
scan ¶
scan(increments, *, stride=1, backend='joint', shift_backend='dense', refresh_every=None, chunk_windows=None, derivative_order=1)
Scan unit windows then select stride. Chunk length counts unit windows.
A fixed refresh/chunk partition is initialized independently. Zero refresh disables resets; default refresh is one window length. Transport uses dense per-grade power blocks; sparse is unsupported. Powered matrices are lazy setup, available via _scan_powers for timing.
Source code in src/tensorsig/offset_coded_signatures/rolling_logsignature/__init__.py
reference ¶
Existing independent-window baseline, including lifting and readout.
Source code in src/tensorsig/offset_coded_signatures/rolling_logsignature/__init__.py
__call__ ¶
__call__(increments: Tensor, *, stride=1, backend=None, shift_backend='dense', chunk_windows: int | None = None, refresh_every: int | None = None, algorithm='chunks', derivative_order=1) -> Tensor
Roll typed, fused, or joint BCH circuits in independent chunks.
An omitted backend means typed for chunks and joint for scan. Joint chunks integrate transport into their polynomial and accept only the default dense spelling; typed/fused chunks also support sparse. chunk_windows=None uses one sequential lane; positive values initialize independent chunks together and then roll lanes in parallel. Refresh is every window increments by default. Zero disables refresh (for drift experiments). Strides use successive unit updates between outputs.
Source code in src/tensorsig/offset_coded_signatures/rolling_logsignature/__init__.py
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | |