CompiledTensorEvaluator
symbolica.community.tensor Class
CompiledTensorEvaluator()Native Symbolica evaluator returning tensors. Construct with TensorEvaluator.compile.
evaluate uses the number_type selected at compilation, as in Symbolica's compiled evaluators. scalar_evaluator exposes the underlying native evaluator.
Member details
parameters
Property · read-only#parameters: list[Expression] Symbolic inputs in evaluation order.
input_size
Property · read-only#input_size: intNumber of entries in each input row.
output_shape
Property · read-only#output_shape: tuple[int, ...] Logical shape of each result tensor.
supports_real
Property · read-only#supports_real: boolWhether compilation selected a real number type.
scalar_evaluator
Property · read-only#scalar_evaluator: AnyUnderlying Symbolica compiled evaluator.
evaluate
Method#evaluate(inputs: numpy.ArrayLike) -> list[Tensor] Evaluate real or complex inputs, according to the compiled number type.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
inputs | numpy. | — | — |
__repr__
Method#__repr__() -> strDescribe the compiled output tensor layout and numeric domain.
View generated signature source: docs/api/python/spynso3.pyi:313