Skip to content

Commit a0ae39e

Browse files
committed
Fix format issues
1 parent 688fcbb commit a0ae39e

File tree

1 file changed

+12
-15
lines changed
  • tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/internal/c_api/presets

1 file changed

+12
-15
lines changed

tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/internal/c_api/presets/tensorflow.java

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/* Copyright 2019-2021 The TensorFlow Authors. All Rights Reserved.
22
3-
Licensed under the Apache License, Version 2.0 (the "License");
4-
you may not use this file except in compliance with the License.
5-
You may obtain a copy of the License at
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
66
7-
http://www.apache.org/licenses/LICENSE-2.0
7+
http://www.apache.org/licenses/LICENSE-2.0
88
9-
Unless required by applicable law or agreed to in writing, software
10-
distributed under the License is distributed on an "AS IS" BASIS,
11-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
See the License for the specific language governing permissions and
13-
limitations under the License.
14-
=======================================================================
15-
*/
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
14+
=======================================================================
15+
*/
1616
package org.tensorflow.internal.c_api.presets;
1717

1818
import java.util.List;
@@ -379,10 +379,7 @@ public void map(InfoMap infoMap) {
379379
new Info("TFE_TensorHandle")
380380
.pointerTypes("TFE_TensorHandle")
381381
.base("org.tensorflow.internal.c_api.AbstractTFE_TensorHandle"))
382-
.put(
383-
new Info("SP_Stream")
384-
.cast()
385-
.pointerTypes("Pointer"))
382+
.put(new Info("SP_Stream").cast().pointerTypes("Pointer"))
386383
.put(
387384
new Info(
388385
"TF_ShapeInferenceContextDimValueKnown",

0 commit comments

Comments
 (0)