본문으로 건너뛰기

SimaPillarScatterOptions Struct

Construction options for a SimaPillarScatter Node. More...

Declaration​

struct simaai::neat::SimaPillarScatterOptions { ... }

Included Headers​

#include <SimaPillarScatter.h>

Public Member Attributes Index​

introws = 0

Canvas height H. More...

intcolumns = 0

Canvas width W. More...

intzero_point = 0

INT8 code stored in every unoccupied cell; 0 (+0.0) for BF16. More...

SimaKernelTargettarget = SimaKernelTarget::A65

Execution target; no fallback. More...

Description​

Construction options for a SimaPillarScatter Node.

The input Sample holds three tensors, in order: INT8 or BF16 features [M,C], INT32 coordinates [M,2] holding each pillar's (row, column), and INT32 count [1]. features and coordinates may add singleton axes before their last axis; for example [1,M,1,C] from a pillar-feature MLA graph. C must be a multiple of 16.

The output canvas [1,rows,columns,C] has the features' element type and is stored as compact full-channel MLA cell tiles. An INT8 canvas is byte-identical to dense NHWC. A BF16 canvas uses the MLA-tiled BF16 payload: each cell stores the low bytes of all channels followed by their high bytes. semantic.tess retains its checked tile shape, axes, format and storage extent. Dense copying and DLPack export reject this layout; use copy_payload_bytes() for stored bytes, or a layout-aware consumer such as SimaArgMax. Cloning/Owned output preserves the layout without conversion. Feature values are copied unchanged, and an INT8 canvas keeps the features' semantic.quant. Per-channel metadata must describe the final feature axis with C finite positive scales and C INT8 zero points, all equal to the empty-cell zero_point. The output remaps this axis to 3 in [1,H,W,C]. Other quantization axes are rejected. Existing per-tensor metadata and raw fill-code behavior are unchanged.

Definition at line 46 of file SimaPillarScatter.h.

Public Member Attributes​

columns​

int simaai::neat::SimaPillarScatterOptions::columns = 0

Canvas width W.

Definition at line 48 of file SimaPillarScatter.h.

rows​

int simaai::neat::SimaPillarScatterOptions::rows = 0

Canvas height H.

Definition at line 47 of file SimaPillarScatter.h.

target​

SimaKernelTarget simaai::neat::SimaPillarScatterOptions::target = SimaKernelTarget::A65

Execution target; no fallback.

Definition at line 51 of file SimaPillarScatter.h.

zero_point​

int simaai::neat::SimaPillarScatterOptions::zero_point = 0

INT8 code stored in every unoccupied cell; 0 (+0.0) for BF16.

Definition at line 49 of file SimaPillarScatter.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.