LeakyRelu missing from tf.nn

19 views
Skip to first unread message

Jim Clarke

unread,
Sep 28, 2020, 10:34:51 AM9/28/20
to SIG JVM
Can someone explain why “org.tensorflow.op.nn.LeakyRelu" is missing from  NnOps (tf.nn)?  

The Java file, “org.tensorflow.op.nn.LeakyRelu.java", exists and the class file is in the core jar file,
but there is no "tf.nn.leakyRelu()" method. I noticed that there is no “@Operator” annotation in the java file, though it does have “@Endpoint".

Alexey Zinoviev

unread,
Sep 28, 2020, 12:12:11 PM9/28/20
to Jim Clarke, SIG JVM
Seems like it's historically missed,. I didnt found leaky relu in 1.15 java API too

пн, 28 сент. 2020 г., 17:34 Jim Clarke <jimcla...@gmail.com>:
Can someone explain why “org.tensorflow.op.nn.LeakyRelu" is missing from  NnOps (tf.nn)?  

The Java file, “org.tensorflow.op.nn.LeakyRelu.java", exists and the class file is in the core jar file,
but there is no "tf.nn.leakyRelu()" method. I noticed that there is no “@Operator” annotation in the java file, though it does have “@Endpoint".

--
You received this message because you are subscribed to the Google Groups "SIG JVM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jvm+uns...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/jvm/E3C9FC1D-FD5D-436B-A7C1-5266BD621154%40gmail.com.
Reply all
Reply to author
Forward
0 new messages