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

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

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

# upsampleTrilinear3d

[common]\
fun [upsampleTrilinear3d](upsampleTrilinear3d.md)(input: [Tensor](../Tensor/index.md), sizes: [LongArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html) = longArrayOf(), scaleFactors: [LongArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html) = longArrayOf(), alignCorners: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false): [Tensor](../Tensor/index.md)

`upsampleTrilinear3d(input: Tensor, sizes: LongArray = longArrayOf(), scaleFactors: LongArray = longArrayOf(), alignCorners: Boolean = false)`: the `upsample_trilinear3d` operator. 3-D trilinear resize. Exactly one of `sizes` (target extents) / `scale_factors` (multipliers) is given; entries are literals or 0-D tensors (tensor entries trace symbolically). Input is channels-last.