Skip to contents

Usage

infer_types_slice(operand, start_indices, limit_indices, strides)

hlo_slice(operand, start_indices, limit_indices, strides, output_types = NULL)

Arguments

operand, start_indices, limit_indices, strides

(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