Skip to contents

Usage

infer_types_convert(operand, dtype)

hlo_convert(operand, dtype, output_types = NULL)

Arguments

operand, dtype

(FuncValue)

output_types

(list() of ValueType | NULL)
Output types known ahead of time (e.g. from type inference at trace time). When provided, type inference and its input validation are skipped.

Value

FuncValue