Skip to content

Commit 8c40b8c

Browse files
committed
Add no-arg ctor to BaseGradientAdapter
Signed-off-by: Ryan Nett <[email protected]>
1 parent f1f6e8b commit 8c40b8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/BaseGradientAdapter.java

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
/** Helper base class for custom gradient adapters <b>INTERNAL USE ONLY</b> */
2929
public abstract class BaseGradientAdapter extends GradFunc {
3030

31+
protected BaseGradientAdapter() {
32+
super();
33+
}
34+
3135
/**
3236
* Convert an array of native outputs to a list of {@link Output}s.
3337
*

0 commit comments

Comments
 (0)