Skip to main content

dl::EncoderContext

dl::EncoderContext

Fields set by SlotAssembler from model metadata and runtime state. More…

#include <ChannelEncoder.hpp>

Public Attributes

Name
int target_channel
Which channel to write into.
int batch_index
Which batch index to write into.
int height
Tensor spatial height.
int width
Tensor spatial width.

Detailed Description

struct dl::EncoderContext;

Fields set by SlotAssembler from model metadata and runtime state.

Not user-configurable — describes how to index into the input tensor.

Public Attributes Documentation

variable target_channel

int target_channel = 0;

Which channel to write into.

variable batch_index

int batch_index = 0;

Which batch index to write into.

variable height

int height = 256;

Tensor spatial height.

variable width

int width = 256;

Tensor spatial width.


Updated on 2026-11-13 at 20:25:42 +0000