thunder.core.symbol.Symbol¶
- class thunder.core.symbol.Symbol(name, meta=None, id=None, is_prim=False, tags=None, is_fusion=False, python_printer=<function default_python_printer>, _module=None, _hash=None, executor=None, python_impl=None, _print_as_impl=False, _bind_postprocess=None)[source]¶
Bases:
object
- Parameters:
name (str) –
meta (collections.abc.Callable | None) –
is_prim (bool) –
tags (None | list[thunder.core.prims.OpTags]) –
is_fusion (bool) –
python_printer (Callable) –
_module (None | type | module) –
_hash (int | None) –
python_impl (None | collections.abc.Callable) –
_print_as_impl (bool) –
_bind_postprocess (None | collections.abc.Callable) –
- __init__(name, meta=None, id=None, is_prim=False, tags=None, is_fusion=False, python_printer=<function default_python_printer>, _module=None, _hash=None, executor=None, python_impl=None, _print_as_impl=False, _bind_postprocess=None)[source]¶
Methods
__init__
(name[, meta, id, is_prim, tags, ...])bind
(*args, output[, subsymbols, _call_ctx])- rtype:
lookup_symbol
(name, executor, module)- rtype:
normalize
(*args, **kwargs)Attributes
name
meta
id
is_prim
tags
is_fusion
python_printer
executor
python_impl
module