latest (dev)
Copy
Latest development documentation · Updated 2026-10-08
OpContext
- class tensorplay.onnx.OpContext(builder: GraphBuilder, node_name: str, params: Sequence[str], args: Sequence[Any], kwargs: dict[str, Any], out_shape: tuple | None = None, out_dtype: dtype | None = None)[source]
Argument access plus emission helpers handed to every handler.
- cast_like(value: Any, reference: Any, name_hint: str = 'const') str[source]
Name for
value, materialized withreference’s dtype.
- name(value: Any, name_hint: str = 'const') str[source]
ONNX value name for
value, materializing constants on demand.
- property x: Any
First declared argument (the input tensor for nearly every op).
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

