//clika-runtime/io.clika.runtime/Ops/ndim
ndim
[common]
fun ndim(input: Tensor): Tensor
ndim(input: Tensor): the ndim operator. The tensor's rank 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.