Skip to contents

Usage

infer_types_optimization_barrier(...)

hlo_optimization_barrier(..., simplify = TRUE, output_types = NULL)

Arguments

...

(FuncValue)

simplify

(logical(1))
Whether to simplify results by unpacking lists of length 1 into their single element.

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