torch.nn.AdaptiveLogSoftmaxOptions
export interface AdaptiveLogSoftmaxOptions {
/** Value used as an exponent to compute sizes of the clusters. (default: 4.0) */
div_value?: number;
/** If true, adds a bias term to the 'head' of the adaptive softmax. (default: false) */
head_bias?: boolean;
}div_value(number)optional- – Value used as an exponent to compute sizes of the clusters. (default: 4.0)
head_bias(boolean)optional- – If true, adds a bias term to the 'head' of the adaptive softmax. (default: false)
Options for AdaptiveLogSoftmaxWithLoss module