org.nd4j.linalg.indexing.functions.Value Maven / Gradle / Ivy
package org.nd4j.linalg.indexing.functions;
import com.google.common.base.Function;
/**
* Created by agibsonccc on 10/8/14.
*/
public class Value implements Function {
private Number number;
public Value(Number number) {
this.number = number;
}
@Override
public Number apply(Number number) {
return this.number;
}
}