BitShift

Description

Element-level displacement operator.

Input

Two inputs:

x: array of type int8, int16, int32, uint8, uint16, uint32 or uint64, indicating the input to be shifted.

y: array of type int8, int16, int32, uint8, uint16, uint32 or uint64, specifying the number of shifts.

Output

One output:

z: array of type int8, int16, int32, uint8, uint16, uint32 or uint64.

Property

direction: (mandatory) string, indicating the direction of the displacement. The value range is as follows: RIGHT or LEFT.

ONNX Opset Support

Opset v11/v12/v13/v14/v15/v16/v17/v18