Skip to content

Commit 0dbbe92

Browse files
authored
Move tensorflow commit and swift-apis to pick changes. (#26659)
1 parent 19f227f commit 0dbbe92

File tree

3 files changed

+2
-30
lines changed

3 files changed

+2
-30
lines changed

stdlib/public/CTensorFlow/ctensorflow_init.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -167,17 +167,4 @@ void *swift_tfc_CreateScalarStringTensor(char *val, int32_t valLen,
167167
return tensor;
168168
}
169169

170-
void TFE_InferShapes_Transition(
171-
TFE_Op* op, TF_ShapeAndTypeList* input_shapes,
172-
TF_Tensor** input_tensors,
173-
TF_ShapeAndTypeList* input_tensor_as_shapes,
174-
TF_ShapeAndTypeList** input_resource_shapes_and_types,
175-
TF_ShapeAndTypeList** output_shapes,
176-
TF_ShapeAndTypeList*** output_resource_shapes_and_types, TF_Status* status) {
177-
TFE_InferShapes(op, input_shapes, input_tensors, /* num_tensors*/ 0,
178-
input_tensor_as_shapes, input_resource_shapes_and_types,
179-
output_shapes, output_resource_shapes_and_types, status);
180-
}
181-
182-
183170
} // extern "C"

stdlib/public/CTensorFlow/ctensorflow_init.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,6 @@ void *swift_tfc_CreateFloatTensor(int32_t num_dims, int64_t *dims, float *vals,
4141
void *swift_tfc_CreateScalarStringTensor(char *val, int32_t valLen,
4242
TF_Status *status);
4343

44-
struct TF_Tensor;
45-
struct TF_ShapeAndTypeList;
46-
struct TFE_Op;
47-
48-
// We removed a redundant argument in the C shape inference API.
49-
// This interface function lets us migrate swift-apis without breakages.
50-
// (This is a temporary function and will be removed.)
51-
void TFE_InferShapes_Transition(
52-
TFE_Op* op, TF_ShapeAndTypeList* input_shapes,
53-
TF_Tensor** input_tensors,
54-
TF_ShapeAndTypeList* input_tensor_as_shapes,
55-
TF_ShapeAndTypeList** input_resource_shapes_and_types,
56-
TF_ShapeAndTypeList** output_shapes,
57-
TF_ShapeAndTypeList*** output_resource_shapes_and_types, TF_Status* status);
58-
5944
#ifdef __cplusplus
6045
} /* end extern "C" */
6146
#endif

utils/update_checkout/update-checkout-config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,8 @@
455455
"icu": "release-61-1",
456456
"clang-tools-extra": "swift-DEVELOPMENT-SNAPSHOT-2019-08-05-a",
457457
"libcxx": "swift-DEVELOPMENT-SNAPSHOT-2019-08-05-a",
458-
"tensorflow": "fee0b38d6a2ce3e480c8b6643efe466b889036fa",
459-
"tensorflow-swift-apis": "085217d35c02e07214f3ac99aab2ed0507cfc803",
458+
"tensorflow": "c6719f20911f8aa6b6d9cded1c0f7761cb9c69a0",
459+
"tensorflow-swift-apis": "8258171504d505c3fef99641213eeea2d1ba67fa",
460460
"indexstore-db": "swift-DEVELOPMENT-SNAPSHOT-2019-08-05-a",
461461
"sourcekit-lsp": "swift-DEVELOPMENT-SNAPSHOT-2019-08-05-a"
462462
}

0 commit comments

Comments
 (0)