public final class BNNSLayerParametersLossSoftmaxCrossEntropy
extends org.moe.natj.c.StructObject
| Modifier | Constructor and Description |
|---|---|
|
BNNSLayerParametersLossSoftmaxCrossEntropy() |
protected |
BNNSLayerParametersLossSoftmaxCrossEntropy(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
int |
function()
Fields layout compatible with BNNSLayerParametersLoseBase
|
BNNSNDArrayDescriptor |
i_desc() |
float |
label_smooth()
Fields specific to Softmax Cross Entropy
|
BNNSNDArrayDescriptor |
o_desc() |
int |
reduction() |
void |
setFunction(int value)
Fields layout compatible with BNNSLayerParametersLoseBase
|
void |
setI_desc(BNNSNDArrayDescriptor value) |
void |
setLabel_smooth(float value)
Fields specific to Softmax Cross Entropy
|
void |
setO_desc(BNNSNDArrayDescriptor value) |
void |
setReduction(int value) |
public BNNSLayerParametersLossSoftmaxCrossEntropy()
protected BNNSLayerParametersLossSoftmaxCrossEntropy(org.moe.natj.general.Pointer peer)
public int function()
public void setFunction(int value)
public BNNSNDArrayDescriptor i_desc()
public void setI_desc(BNNSNDArrayDescriptor value)
public BNNSNDArrayDescriptor o_desc()
public void setO_desc(BNNSNDArrayDescriptor value)
public int reduction()
public void setReduction(int value)
public float label_smooth()
public void setLabel_smooth(float value)