Esempio n. 1
0
 /// <summary>Applies the softmax function.</summary>
 /// <param name="array">The array to be applied the softmax function to.</param>
 public static void Softmax(float[] array)
 {
     SoftmaxNeuronsString.Softmax(array, array);
 }
Esempio n. 2
0
 /// <summary>Either creates a siamese of the given <code>SoftmaxNeuronsString</code> class or clones it.</summary>
 /// <param name="original">The original instance to be created a siamese of or cloned.</param>
 /// <param name="siamese"><code>true</code> if a siamese is to be created, <code>false</code> if a clone is.</param>
 protected SoftmaxNeuronsString(SoftmaxNeuronsString original, bool siamese) : base(original, siamese)
 {
 }