---
title: thunder.clang.full_like
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.clang.full_like
---
# thunder.clang.full_like {#thunder-clang-full-like}

### `thunder.clang.full_like(a, fill_value, *, device=None, dtype=None)` {#thunder.clang.full_like}

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

Return type:

[`TensorProxy`](/docs/thunder/core/generated/thunder.core.proxies.TensorProxy#thunder.core.proxies.TensorProxy "thunder.core.proxies.TensorProxy")

Parameters:

*   **a** ([_thunder.core.proxies.TensorProxy_](/docs/thunder/core/generated/thunder.core.proxies.TensorProxy#thunder.core.proxies.TensorProxy "thunder.core.proxies.TensorProxy") _|_ [_numbers.Number_](https://docs.python.org/3/library/numbers.html#numbers.Number "(in Python v3.15)")) –
    
*   **fill\_value** ([_numbers.Number_](https://docs.python.org/3/library/numbers.html#numbers.Number "(in Python v3.15)") _|_ _thunder.core.proxies.NumberProxy_) –
    
*   **device** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_Union_](https://docs.python.org/3/library/typing.html#typing.Union "(in Python v3.15)")_\[_[_str_](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)")_,_ [_Device_](/docs/thunder/core/generated/thunder.core.devices.Device#thunder.core.devices.Device "thunder.core.devices.Device")_\]__\]_) –
    
*   **dtype** ([_thunder.core.dtypes.dtype_](/docs/thunder/core/generated/thunder.core.dtypes.dtype#thunder.core.dtypes.dtype "thunder.core.dtypes.dtype") _|_ _None_) –

---

**Navigation**

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