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

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

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

# ndimHost

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

`ndimHost(input: Tensor)`: the `ndim_host` operator. The rank as a 0-D Int64 HOST tensor, written from metadata; the same no-sync contract as `shape_host`.