dl::DecoderContext
dl::DecoderContext
Fields set by SlotAssembler from model metadata and runtime state. More…
#include <ChannelDecoder.hpp>
Public Attributes
| Name | |
|---|---|
| int | source_channel Which channel to decode. |
| int | batch_index Which batch index to read from. |
| int | height Tensor spatial height. |
| int | width Tensor spatial width. |
| ImageSize | target_image_size Scale output back to original coords. |
Detailed Description
struct dl::DecoderContext;Fields set by SlotAssembler from model metadata and runtime state.
Not user-configurable — describes how to index into the output tensor.
Public Attributes Documentation
variable source_channel
int source_channel = 0;Which channel to decode.
variable batch_index
int batch_index = 0;Which batch index to read from.
variable height
int height = 256;Tensor spatial height.
variable width
int width = 256;Tensor spatial width.
variable target_image_size
ImageSize target_image_size {};Scale output back to original coords.
Updated on 2026-11-13 at 20:25:42 +0000