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

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

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Tensors](index.md)/[full](full.md)

# full

[common]\
fun [full](full.md)(shape: [LongArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html), value: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), dtype: [DType](../DType/index.md) = DType.FLOAT32, where: [Placement](../Placement/index.md)? = null): [Tensor](../Tensor/index.md)

A [shape](full.md)-extent tensor filled with [value](full.md) (cast to [dtype](full.md)).