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

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

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

# copysignInPlace

[common]\
fun [copysignInPlace](copysignInPlace.md)(self: [Tensor](../Tensor/index.md), other: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`copysignInPlace(self: Tensor, other: Tensor)`: the `copysign_` operator. In-place `copysign`: writes the re-signed magnitudes through `x`. Writes through `self` and returns it, so calls chain.

[common]\
fun [copysignInPlace](copysignInPlace.md)(self: [Tensor](../Tensor/index.md), other: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)): [Tensor](../Tensor/index.md)

`copysignInPlace(self: Tensor, other: Double)`: the number form of `copysign_`, `other` as a scalar.