Skip to content

Tensor Profile: Schema and Body

This page covers the fields that tensor adds on top of the shared descriptor. They stay out of the public layer because they only make sense for the tensor family.

dtype

FieldData shapeTypical valuesDescription
dtypeScalar typef16, f32, u8Specifies how each payload element should be interpreted

shape

FieldData shapeTypical valuesDescription
shapeInteger array[1, 3, 512, 512]Defines the logical tensor dimensions and total element layout

layout

FieldData shapeTypical valuesDescription
layoutEnum or short stringnchw, nhwcMaps shape dimensions onto semantic axes

coverage

Field groupChild fieldsTypical valuesDescription
coveragetile_x / tile_y / width / height12 / 7 / 512 / 512Explains which spatial region the current tensor chunk covers

coverage matters when the schema carries region-based semantics. It should not be treated as a universal required tensor field.

NNRP Documentation