Click or drag to resize
VariableSoftmax Method (VariableISparseListDouble)
Microsoft Research
Creates a vector variable y where y[i] = exp(x[i])/(sum_j exp(x[j])). y has the same length as x.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static Variable<Vector> Softmax(
	Variable<ISparseList<double>> x
)

Parameters

x
Type: MicrosoftResearch.Infer.ModelsVariableISparseListDouble
The sparse list variable argument

Return Value

Type: VariableVector
A new variable
See Also