Skip to content
ααLoop docs

Start here

OverviewBuild your first Spenso tensor

Getting started

Using Spenso from PythonUsing Spenso from Rust

Tutorial

Your first tensor workflow

Guides

Tensor networksPython tensor workflows

Reference

Rust, macros, and PythonReference overviewPython APIRust API

symbolica.community.spenso symbols

Module overviewBroadcastFunctionCompiledTensorEvaluatorDisplaySettingsPortPatternRepresentationSlotTensorTensorEvaluatorTensorExpressionTensorFunctionLibraryTensorLibraryTensorNameTensorNetworkTensorPatternExecutionModeSymbolicParallelismas_tensor-functionchain-functiondot-functionformat_tensor-functionformatted-functionset_symbolica_rayon_enabled-functionto_html-functionto_svg-functionto_typst-functiontrace-function

Version history

Version historySpenso versionsSpenso macros versionsSpenso HEP library versionsSpynso3 versions

For developers

Architecture & engineering notes

Spenso
latest
Download PDF

Spenso / Python API / symbolica.community.spenso.as_tensor

as_tensor

symbolica.community.spenso / Function

All module symbolsPython interface guidePython tensor workflow
as_tensor(expression: Any) -> TensorExpression

Restore tensor-aware dispatch after a base Symbolica transformation.

View generated signature source: docs/api/python/spynso3.pyi:2221

Type-checker stub

Download spynso3.pyi. The module index links every supported public symbol.

Previous symbolSymbolicParallelismNext symbolchain
View generated type stub at this revision ↗Report a documentation issue ↗
latest · Complete PDF manual · documented revision ff533fcd91d8