Skip to main content

dl::GeneralEncoderModelParams

dl::GeneralEncoderModelParams

User-configurable parameters for [GeneralEncoderModel](/api_generated/Classes/classdl_1_1GeneralEncoderModel.md). More…

#include <GeneralEncoderModelParams.hpp>

Public Attributes

Name
bool shape_applied
True after the user clicks Apply Shape in the UI.
int input_height
Input height in pixels; 0 means not yet configured.
int input_width
Input width in pixels; 0 means not yet configured.
std::string output_shape
Comma-separated output dimensions (excluding batch), e.g. "768,16,16".

Detailed Description

struct dl::GeneralEncoderModelParams;

User-configurable parameters for [GeneralEncoderModel](/api_generated/Classes/classdl_1_1GeneralEncoderModel.md).

Persisted in workspace state under model_configurations[“general_encoder”].

Public Attributes Documentation

variable shape_applied

bool shape_applied = false;

True after the user clicks Apply Shape in the UI.

variable input_height

int input_height = 0;

Input height in pixels; 0 means not yet configured.

variable input_width

int input_width = 0;

Input width in pixels; 0 means not yet configured.

variable output_shape

std::string output_shape;

Comma-separated output dimensions (excluding batch), e.g. "768,16,16".


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