Skip to contents

Convert a tensor to a different data type.

Usage

nv_convert(operand, dtype)

Arguments

operand

(tensorish)
Operand.

dtype

(character(1) | stablehlo::TensorDataType)
Data type.

Value

tensorish