as_formular

TensorInfo.as_formular()

Creates a TensorInfo object with normalized shape and strides.

Rank0 (scalar) shapes are converted to Rank1[1], and strides are populated if they were empty.

Returns:

A new TensorInfo object with normalized shape and strides.

Return type:

TensorInfo