Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
val even: DoubleArray = doubleArrayOf(3.0, 4.0)
val odd: DoubleArray = doubleArrayOf(1.0, 1.0,5.0,5.0)
System.out.println("output"+ Convolution.convn(Nd4j.create(even), Nd4j.create(odd), Convolution.Type.SAME))
@Tufanmk21

This comment has been minimized.

Copy link
Owner Author

Tufanmk21 commented Dec 2, 2019

Getting exception as

Caused by: java.lang.UnsupportedOperationException
at org.nd4j.linalg.convolution.DefaultConvolutionInstance.convn(DefaultConvolutionInstance.java:57)
at org.nd4j.linalg.convolution.BaseConvolution.convn(BaseConvolution.java:66)
at org.nd4j.linalg.convolution.Convolution.convn(Convolution.java:407)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.