public interface OpFactory
LossFunction createLossFunction(String name, INDArray x, INDArray y)
name - the name of the functionx - the inputy - the outputAccumulation createAccum(String name, INDArray x)
name - the name of the function to createx - the input to the functionAccumulation createAccum(String name, INDArray x, INDArray y, INDArray z)
name - the name of the functionx - the inputy - the pairwise transformationz - the outputAccumulation createAccum(String name, INDArray x, INDArray y)
name - x - y - IndexAccumulation createIndexAccum(String name, INDArray x)
name - the name of the function to createx - the input to the functionIndexAccumulation createIndexAccum(String name, INDArray x, INDArray y)
name - x - y - TransformOp createTransform(String name, INDArray x, INDArray y)
name - x - y - TransformOp createTransform(String name, INDArray x)
name - x - TransformOp createTransform(String name, INDArray x, INDArray y, INDArray z)
name - x - y - z - BroadcastOp createBroadcastOp(String name, INDArray x, INDArray y, INDArray z, int... dimension)
name - Name of the vector opx - NDArray to operate ony - Vectorz - Result NDArraydimension - Dimension to do op along. 0 for row, 1 for column, etcBroadcastOp createBroadcastOp(String name, INDArray x, INDArray z, int... dimension)
name - Name of the vector opx - NDArray to operate onz - Result NDArraydimension - Dimension to do op along. 0 for row, 1 for column, etcCopyright © 2016. All Rights Reserved.