Skip to content

Commit 8c79214

Browse files
committed
change l1_l2 to create.
1 parent a3ccf61 commit 8c79214

File tree

1 file changed

+1
-1
lines changed
  • tensorflow-framework/src/main/java/org/tensorflow/framework/regularizers

1 file changed

+1
-1
lines changed

tensorflow-framework/src/main/java/org/tensorflow/framework/regularizers/L1L2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public L1L2(Ops tf, Float l1, Float l2) {
8989
* @param tf the TensorFlow Ops
9090
* @return a L1L2 instance using {@link #DEFAULT_REGULARIZATION_PENALTY} for the l1 and l2 values.
9191
*/
92-
public static L1L2 l1_l2(Ops tf) {
92+
public static L1L2 create(Ops tf) {
9393
return new L1L2(tf, DEFAULT_REGULARIZATION_PENALTY, DEFAULT_REGULARIZATION_PENALTY);
9494
}
9595

0 commit comments

Comments
 (0)