Skip to main content

//clika-runtime/io.clika.runtime/Ops/numel

numel

[common]
fun numel(input: Tensor): Tensor

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.