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

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

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

# bitwiseLeftShift

[common]\
fun [bitwiseLeftShift](bitwiseLeftShift.md)(input: [Tensor](../Tensor/index.md), other: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`bitwiseLeftShift(input: Tensor, other: Tensor)`: the `bitwise_left_shift` operator. Elementwise `a << other`. Integer dtypes only (Bool refuses; a shifted Bool byte has no meaning); otherwise dtype law as `bitwise_and`. The shift is a TOTAL function: a count outside `[0, bit_width)`, negative included, yields the fully shifted-out value (zero fill), identically on every backend.

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

`bitwiseLeftShift(input: Tensor, other: Double)`: the number form of `bitwise_left_shift`, `other` as a scalar.