Skip to contents

Shorthand for building a tensor stablehlo::ValueType from a dtype and shape — convenient inside stablehlo lowering rules that need to declare custom-call output types or similar.

Usage

vt(dtype, shape)

Arguments

dtype

A dtype (string or tengen::DataType).

shape

An integer vector or stablehlo::Shape.

Value

(ValueType)