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

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

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

# emptyLike

[common]\
fun [emptyLike](emptyLike.md)(reference: [Tensor](../Tensor/index.md), device: [Placement](../Placement/index.md)? = null): [Tensor](../Tensor/index.md)

`emptyLike(reference: Tensor, device: Placement? = null)`: the `empty_like` operator. Uninitialized tensor with `reference`'s shape and dtype.