---
title: "Size"
sidebar_label: "Size"
description: "The clika_runtime Size class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

A tensor's shape: a tuple of ints with ``numel()``. Slicing gives a
    ``Size`` again; every tuple operation works.

    >>> Size([2, 3]).numel()
    6
    

## `numel`

```python
numel(self) -> 'int'
```

numel() -> int

The element count: the product of the dims (1 for a 0-d shape).
