---
title: "numel"
sidebar_label: "numel"
description: "Kotlin binding reference: numel."
---

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

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Ops](index.md)/[numel](numel.md)

# numel

[common]\
fun [numel](numel.md)(input: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`numel(input: Tensor)`: the `numel` operator. The tensor's total element count as a 0-D Int64 tensor. The value is produced ON DEVICE and is traceable; under tracing it carries the symbolic value. For a plain host integer use the `*_host` sibling instead.