Property | Type | Description | |
---|---|---|---|
c2i | Intarray |
Method | Description | |
---|---|---|
ClassMap ( Intarray out_class_to_index, Intarray out_index_to_class, Intarray classes ) : void |
Compute a classmap that maps a set of possibly sparse classes onto a dense list of new classes and vice versa
|
|
IBatchDense ( ) : System | ||
OutputsDense ( Floatarray result, Floatarray v ) : float | ||
TrainDense ( |
Method | Description | |
---|---|---|
Outputs ( |
||
Train ( |
Method | Description | |
---|---|---|
ctranslate ( Intarray result, Intarray values, Intarray translation ) : void |
Translate classes using a translation map
|
public static ClassMap ( Intarray out_class_to_index, Intarray out_index_to_class, Intarray classes ) : void | ||
out_class_to_index | Intarray | |
out_index_to_class | Intarray | |
classes | Intarray | |
return | void |
protected Outputs ( |
||
result | ||
v | Floatarray | |
return | float |
public OutputsDense ( Floatarray result, Floatarray v ) : float | ||
result | Floatarray | |
v | Floatarray | |
return | float |
protected Train ( |
||
ds | ||
return | void |
public TrainDense ( |
||
dataset | ||
return | void |