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

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

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

# adaptiveAvgPool1d

[common]\
fun [adaptiveAvgPool1d](adaptiveAvgPool1d.md)(input: [Tensor](../Tensor/index.md), outputSize: [LongArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long-array/index.html)): [Tensor](../Tensor/index.md)

`adaptiveAvgPool1d(input: Tensor, outputSize: LongArray)`: the `adaptive_avg_pool1d` operator. 1-D adaptive average pooling of `[N, L, C]` to `[N, L', C]`; the window geometry is derived from `output_size`. See `adaptive_avg_pool`.