---
title: thunder.core.symbol.Symbol
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.core.symbol.Symbol
---
# thunder.core.symbol.Symbol {#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)` {#thunder.core.symbol.Symbol}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/symbol.py#L119-L354)

Bases: [`object`](https://docs.python.org/3/builtins/functions.html#object "(in Python v3.15)")

Parameters:

*   **name** ([_str_](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)")) –
    
*   **meta** ([_collections.abc.Callable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "(in Python v3.15)") _|_ _None_) –
    
*   **id** ([_Union_](https://docs.python.org/3/library/typing.html#typing.Union "(in Python v3.15)")_\[__None__,_ [_Any_](https://docs.python.org/3/library/typing.html#typing.Any "(in Python v3.15)")_\]_) –
    
*   **is\_prim** ([_bool_](https://docs.python.org/3/builtins/functions.html#bool "(in Python v3.15)")) –
    
*   **tags** (_None_ _|_ [_list_](https://docs.python.org/3/builtins/stdtypes.html#list "(in Python v3.15)")_\[__thunder.core.prims.OpTags__\]_) –
    
*   **is\_fusion** ([_bool_](https://docs.python.org/3/builtins/functions.html#bool "(in Python v3.15)")) –
    
*   **python\_printer** ([_Callable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "(in Python v3.15)")) –
    
*   **\_module** (_None_ _|_ [_type_](https://docs.python.org/3/builtins/functions.html#type "(in Python v3.15)") _|_ _module_) –
    
*   **\_hash** ([_int_](https://docs.python.org/3/builtins/functions.html#int "(in Python v3.15)") _|_ _None_) –
    
*   **executor** ([_Union_](https://docs.python.org/3/library/typing.html#typing.Union "(in Python v3.15)")_\[__None__,_ [_Any_](https://docs.python.org/3/library/typing.html#typing.Any "(in Python v3.15)")_\]_) –
    
*   **python\_impl** (_None_ _|_ [_collections.abc.Callable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "(in Python v3.15)")) –
    
*   **\_print\_as\_impl** ([_bool_](https://docs.python.org/3/builtins/functions.html#bool "(in Python v3.15)")) –
    
*   **\_bind\_postprocess** (_None_ _|_ [_collections.abc.Callable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "(in Python v3.15)")) –
    

#### `__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)` {#thunder.core.symbol.Symbol.__init__}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/symbol.py)

Parameters:

*   **name** ([_str_](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)")) –
    
*   **meta** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_Callable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "(in Python v3.15)")_\]_) –
    
*   **id** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_Any_](https://docs.python.org/3/library/typing.html#typing.Any "(in Python v3.15)")_\]_) –
    
*   **is\_prim** ([_bool_](https://docs.python.org/3/builtins/functions.html#bool "(in Python v3.15)")) –
    
*   **tags** ([_Union_](https://docs.python.org/3/library/typing.html#typing.Union "(in Python v3.15)")_\[__None__,_ [_list_](https://docs.python.org/3/builtins/stdtypes.html#list "(in Python v3.15)")_\[__thunder.core.prims.OpTags__\]__\]_) –
    
*   **is\_fusion** ([_bool_](https://docs.python.org/3/builtins/functions.html#bool "(in Python v3.15)")) –
    
*   **python\_printer** ([_Callable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "(in Python v3.15)")) –
    
*   **\_module** ([_Union_](https://docs.python.org/3/library/typing.html#typing.Union "(in Python v3.15)")_\[__None__,_ [_type_](https://docs.python.org/3/builtins/functions.html#type "(in Python v3.15)")_,_ _module__\]_) –
    
*   **\_hash** ([_Union_](https://docs.python.org/3/library/typing.html#typing.Union "(in Python v3.15)")_\[__None__,_ [_int_](https://docs.python.org/3/builtins/functions.html#int "(in Python v3.15)")_\]_) –
    
*   **executor** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_Any_](https://docs.python.org/3/library/typing.html#typing.Any "(in Python v3.15)")_\]_) –
    
*   **python\_impl** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_Callable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "(in Python v3.15)")_\]_) –
    
*   **\_print\_as\_impl** ([_bool_](https://docs.python.org/3/builtins/functions.html#bool "(in Python v3.15)")) –
    
*   **\_bind\_postprocess** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_Callable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "(in Python v3.15)")_\]_) –
    

Return type:

None

Methods

- [`__init__(name[, meta, id, is_prim, tags, ...])`](#thunder.core.symbol.Symbol.__init__)
- `bind(*args, output[, subsymbols, _call_ctx])` — rtype:BoundSymbol
- `lookup_symbol(name, executor, module)` — rtype:Symbol
- `normalize(*args, **kwargs)`

Attributes

- `name`
- `meta`
- `id`
- `is_prim`
- `tags`
- `is_fusion`
- `python_printer`
- `executor`
- `python_impl`
- `module`

#### `__call__(*args, **kwargs)` {#thunder.core.symbol.Symbol.__call__}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/symbol.py#L278-L354)

Call self as a function.

---

**Navigation**

- Parent: [Generated](/docs/thunder/0.2.6/api-reference/generated.md)
