Skip to contents

Create a debug box.

Usage

debug_box(dtype, shape, ambiguous = FALSE)

Arguments

dtype

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

shape

(integer())
Shape.

ambiguous

(logical(1))
Whether the type is ambiguous. Ambiguous types usually arise from R literals (e.g., 1L, 1.0) and follow special promotion rules. See the vignette "Type Promotion" for more details.

Value

(DebugBox)