Skip to content

Commit b0b747e

Browse files
committed
Change snake case to camel case
1 parent 80f2fb0 commit b0b747e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tensorflow-framework/src/test/java/org/tensorflow/framework/initializers/IdentityTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void tearDown() {}
4747

4848
/** Test of call method, of class Orthogonal. */
4949
@Test
50-
public void testCall_Int() {
50+
public void testCallInt() {
5151
for (TestSession.Mode tfMode : tfModes)
5252
assertThrows(
5353
java.lang.IllegalArgumentException.class,

tensorflow-framework/src/test/java/org/tensorflow/framework/initializers/VarianceScalingTest.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void tearDown() {}
4444

4545
/** Test of call method, of class VarianceScaling. */
4646
@Test
47-
public void testCallFloat_1_FAN_IN_TRUNCATED_NORMAL() {
47+
public void testCallFloat1FanInTruncatedNormal() {
4848
float[] expected = {-0.52388954F, -0.29329166F, -0.07872587F, -0.31851602F};
4949
for (TestSession.Mode tfMode : tfModes)
5050
try (TestSession session = TestSession.createTestSession(tfMode)) {
@@ -63,7 +63,7 @@ public void testCallFloat_1_FAN_IN_TRUNCATED_NORMAL() {
6363
}
6464

6565
@Test
66-
public void testCallDouble_1_FAN_IN_TRUNCATED_NORMAL() {
66+
public void testCallDouble1FanInTruncatedNormal() {
6767
double[] expected = {
6868
1.4971264721246893, -1.2488522307109322, -0.5409677352523339, 0.4871390504288623
6969
};
@@ -85,7 +85,7 @@ public void testCallDouble_1_FAN_IN_TRUNCATED_NORMAL() {
8585

8686
/** Test of call method, of class VarianceScaling. */
8787
@Test
88-
public void testCallFloat_1_FAN_IN_NORMAL() {
88+
public void testCallFloat1FanInNormal() {
8989
float[] expected = {-0.46082667F, -0.25798687F, -0.06924929F, -0.28017485F};
9090
for (TestSession.Mode tfMode : tfModes)
9191
try (TestSession session = TestSession.createTestSession(tfMode)) {
@@ -104,7 +104,7 @@ public void testCallFloat_1_FAN_IN_NORMAL() {
104104
}
105105

106106
@Test
107-
public void testCalltestSoftmaxDouble_1_FAN_IN_NORMAL() {
107+
public void testCalltestSoftmaxDouble1FanInNormal() {
108108
double[] expected = {
109109
1.3169108626945392, -1.0985224689731887, -0.13536536217837225, -1.698770780615686
110110
};
@@ -126,7 +126,7 @@ public void testCalltestSoftmaxDouble_1_FAN_IN_NORMAL() {
126126

127127
/** Test of call method, of class VarianceScaling. */
128128
@Test
129-
public void testCalltestSoftmaxFloat_1_FAN_IN_UNIFORM() {
129+
public void testCalltestSoftmaxFloat1FanInUNIFORM() {
130130
float[] expected = {0.9266439F, 0.8190767F, 1.1268647F, 0.6596042F};
131131
for (TestSession.Mode tfMode : tfModes)
132132
try (TestSession session = TestSession.createTestSession(tfMode)) {
@@ -141,7 +141,7 @@ public void testCalltestSoftmaxFloat_1_FAN_IN_UNIFORM() {
141141
}
142142

143143
@Test
144-
public void testCalltestSoftmaxDouble_1_FAN_IN_UNIFORM() {
144+
public void testCalltestSoftmaxDouble1FanInUNIFORM() {
145145
double[] expected = {
146146
0.06468193804916589, 0.44170328686673477, 0.06711059208157763, 0.6278720842445181
147147
};

0 commit comments

Comments
 (0)