| Constructor and Description |
|---|
DefaultOpFactory() |
public LossFunction createLossFunction(String name, INDArray x, INDArray y)
OpFactorycreateLossFunction in interface OpFactoryname - the name of the functionx - the inputy - the outputpublic Accumulation createAccum(String name, INDArray x)
OpFactorycreateAccum in interface OpFactoryname - the name of the function to createx - the input to the functionpublic Accumulation createAccum(String name, INDArray x, INDArray y, INDArray z)
OpFactorycreateAccum in interface OpFactoryname - the name of the functionx - the inputy - the pairwise transformationz - the outputpublic Accumulation createAccum(String name, INDArray x, INDArray y)
createAccum in interface OpFactorypublic IndexAccumulation createIndexAccum(String name, INDArray x)
OpFactorycreateIndexAccum in interface OpFactoryname - the name of the function to createx - the input to the functionpublic IndexAccumulation createIndexAccum(String name, INDArray x, INDArray y)
OpFactorycreateIndexAccum in interface OpFactorypublic TransformOp createTransform(String name, INDArray x, INDArray y)
createTransform in interface OpFactorypublic TransformOp createTransform(String name, INDArray x)
createTransform in interface OpFactorypublic TransformOp createTransform(String name, INDArray x, INDArray y, INDArray z)
createTransform in interface OpFactorypublic BroadcastOp createBroadcastOp(String name, INDArray x, INDArray y, INDArray z, int... dimension)
OpFactorycreateBroadcastOp in interface OpFactoryname - Name of the vector opx - NDArray to operate ony - Vectorz - Result NDArraydimension - Dimension to do op along. 0 for row, 1 for column, etcpublic BroadcastOp createBroadcastOp(String name, INDArray x, INDArray y, int... dimension)
OpFactorycreateBroadcastOp in interface OpFactoryname - Name of the vector opx - NDArray to operate ony - Result NDArraydimension - Dimension to do op along. 0 for row, 1 for column, etcCopyright © 2016. All Rights Reserved.