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

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

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

# randintLike

[common]\
fun [randintLike](randintLike.md)(reference: [Tensor](../Tensor/index.md), low: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), high: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), device: [Placement](../Placement/index.md)? = null): [Tensor](../Tensor/index.md)

`randintLike(reference: Tensor, low: Long, high: Long, device: Placement? = null)`: the `randint_like` operator. Uniform integers in `[low, high)` shaped and typed like `reference`.