Java Code Examples for org.nd4j.linalg.ops.transforms.Transforms#round()

The following examples show how to use org.nd4j.linalg.ops.transforms.Transforms#round() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DrawReconstruction.java    From DataVec with Apache License 2.0 2 votes vote down vote up
public DrawReconstruction(INDArray data) {
    img = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
    this.data = Transforms.round(data);


}
 
Example 2
Source File: DrawReconstruction.java    From Canova with Apache License 2.0 2 votes vote down vote up
public DrawReconstruction(INDArray data) {
	img = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
	this.data = Transforms.round(data);


}
 
Example 3
Source File: DrawReconstruction.java    From deeplearning4j with Apache License 2.0 2 votes vote down vote up
public DrawReconstruction(INDArray data) {
    img = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
    this.data = Transforms.round(data);


}