예제 #1
0
 private void build() {
   System.arraycopy(Theta, 0, W.data, 0, FeatureLength * CatSize);
   System.arraycopy(Theta, FeatureLength * CatSize, b.data, 0, CatSize);
 }
예제 #2
0
 public void flatten() {
   System.arraycopy(W.data, 0, Theta, 0, FeatureLength * CatSize);
   System.arraycopy(b.data, 0, Theta, FeatureLength * CatSize, CatSize);
 }