Skip to contents

Convert a tensor to a different data type.

Usage

nv_convert(operand, dtype)

Arguments

operand

(nv_tensor)
Operand.

dtype

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

Value

nv_tensor