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

### `thunder.clang.unsqueeze(a, /, dims)` {#thunder.clang.unsqueeze}

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

Return type:

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

Parameters:

**dims** ([_int_](https://docs.python.org/3/builtins/functions.html#int "(in Python v3.15)") _|_ [_collections.abc.Sequence_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Sequence "(in Python v3.15)")_\[_[_int_](https://docs.python.org/3/builtins/functions.html#int "(in Python v3.15)")_\]_) –

---

**Navigation**

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