DiSMEC++
dismec::model::PartialModelSpec Struct Reference

Specifies how to interpret a weight matrix for a partial model. More...

#include <model.h>

Public Attributes

label_id_t first_label
 First label in the partial model. More...
 
long label_count
 Number of labels in the partial model. More...
 
long total_labels
 Total number of labels. More...
 

Detailed Description

Specifies how to interpret a weight matrix for a partial model.

This contains information about the first label for which there are weights, the number of weights, and the number of total labels.

Definition at line 22 of file model.h.

Member Data Documentation

◆ first_label

label_id_t dismec::model::PartialModelSpec::first_label

First label in the partial model.

Definition at line 23 of file model.h.

◆ label_count

long dismec::model::PartialModelSpec::label_count

Number of labels in the partial model.

Definition at line 24 of file model.h.

Referenced by dismec::model::DenseModel::DenseModel().

◆ total_labels

long dismec::model::PartialModelSpec::total_labels

Total number of labels.

Definition at line 25 of file model.h.


The documentation for this struct was generated from the following file: