|
1 | 1 | /* Copyright 2019-2021 The TensorFlow Authors. All Rights Reserved. |
2 | 2 |
|
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 |
6 | 6 |
|
7 | | - http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | + http://www.apache.org/licenses/LICENSE-2.0 |
8 | 8 |
|
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 | +*/ |
16 | 16 | package org.tensorflow.internal.c_api.presets; |
17 | 17 |
|
18 | 18 | import java.util.List; |
@@ -379,10 +379,7 @@ public void map(InfoMap infoMap) { |
379 | 379 | new Info("TFE_TensorHandle") |
380 | 380 | .pointerTypes("TFE_TensorHandle") |
381 | 381 | .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")) |
386 | 383 | .put( |
387 | 384 | new Info( |
388 | 385 | "TF_ShapeInferenceContextDimValueKnown", |
|
0 commit comments