set_symbolica_rayon_enabled
symbolica.community.tensor Function
set_symbolica_rayon_enabled(policy: SymbolicParallelism) -> boolSet the threading policy for Spenso's Symbolica operations.
Parameters
policySymbolicParallelismAuto checks the license at this call; Serial disables symbolic parallelism; Parallel enables it without that automatic check.
Returns
bool
Whether the resolved policy permits parallel execution. Individual operations may still choose serial execution for small workloads.
Notes
This changes the process-wide policy, not just one tensor or network.
Examples
from symbolica.community.tensor import SymbolicParallelism, set_symbolica_rayon_enabled
allowed = set_symbolica_rayon_enabled(SymbolicParallelism.Auto)View generated signature source: docs/api/python/spynso3.pyi:11002