Package mikera.vectorz

Source Code of mikera.vectorz.TestingUtils

package mikera.vectorz;

import mikera.arrayz.Arrayz;
import mikera.arrayz.INDArray;

public class TestingUtils {

  public static INDArray createRandomLike(INDArray a, long seed) {
    INDArray r=Arrayz.newArray(a.getShape());
    Arrayz.fillNormal(r, seed);
    return r;
  }
}
TOP

Related Classes of mikera.vectorz.TestingUtils

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.