Skip to content

Commit f5dd0e5

Browse files
committed
Document use of rawtypes
Signed-off-by: Ryan Nett <[email protected]>
1 parent 517fd8d commit f5dd0e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/CustomGradient.java

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
* reflection. To operate on the {@link org.tensorflow.GraphOperation} directly use {@link
3131
* RawCustomGradient}.
3232
*
33+
* <p>The type of the op is not checked here, but it is required to match the class given to the
34+
* adapter.
35+
*
3336
* @param <T> the type of op this gradient is for.
3437
*/
3538
@SuppressWarnings("rawtypes")

0 commit comments

Comments
 (0)