Skip to main content

dl::ChannelDecoder

dl::ChannelDecoder

Registry-facing interface for tensor-to-DataManager channel decoders. More…

#include <ChannelDecoder.hpp>

Inherited by dl::TensorToFeatureVector, dl::TensorToLine2D, dl::TensorToMask2D, dl::TensorToPoint2D

Public Functions

Name
virtual ~ChannelDecoder() =default
virtual std::string name() const =0
virtual std::string outputTypeName() const =0

Detailed Description

class dl::ChannelDecoder;

Registry-facing interface for tensor-to-DataManager channel decoders.

See: PostEncoderModule for the complementary torch-to-torch processing stage

Subclasses identify themselves via [name()](/api_generated/Classes/classdl_1_1ChannelDecoder.md#function-name) and [outputTypeName()](/api_generated/Classes/classdl_1_1ChannelDecoder.md#function-outputtypename). The actual decode logic lives on static decode() methods of each concrete decoder class.

Public Functions Documentation

function ~ChannelDecoder

virtual ~ChannelDecoder() =default

function name

virtual std::string name() const =0

Reimplemented by: dl::TensorToFeatureVector::name, dl::TensorToLine2D::name, dl::TensorToMask2D::name, dl::TensorToPoint2D::name

function outputTypeName

virtual std::string outputTypeName() const =0

Reimplemented by: dl::TensorToFeatureVector::outputTypeName, dl::TensorToLine2D::outputTypeName, dl::TensorToMask2D::outputTypeName, dl::TensorToPoint2D::outputTypeName


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