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

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

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[ModelGraph](index.md)/[to](to.md)

# to

[common]\
fun [to](to.md)(where: [Placement](../Placement/index.md))

Move the graph to a device or a stream (`to(stream)` once, then every run computes on it).