Struct Model

Struct Documentation

struct Model

A Model object representing the neural network used in the archive.

Class defining a single-stage model config scheme.

@type metadata: Metadata @ivar metadata: Metadata object defining the model metadata. @type inputs: list @ivar inputs: List of Input objects defining the model inputs. @type outputs: list @ivar outputs: List of Output objects defining the model outputs. @type heads: list @ivar heads: List of Head objects defining the model heads. If not defined, we assume a raw output. A Model object representing the neural network used in the archive.

Class defining a single-stage model config scheme.

@type metadata: Metadata @ivar metadata: Metadata object defining the model metadata. @type inputs: list @ivar inputs: List of Input objects defining the model inputs. @type outputs: list @ivar outputs: List of Output objects defining the model outputs. @type heads: list @ivar heads: List of Head objects defining the model heads. If not defined, we assume a raw output.

Public Members

std::optional<std::vector<Head>> heads

List of Head objects defining the model heads. If not defined, we assume a raw output.

std::vector<Input> inputs

List of Input objects defining the model inputs.

MetadataClass metadata

Metadata object defining the model metadata.

std::vector<Output> outputs

List of Output objects defining the model outputs.