This repository was archived by the owner on Jul 1, 2023. It is now read-only.
File tree 5 files changed +39
-10
lines changed
5 files changed +39
-10
lines changed Original file line number Diff line number Diff line change 1
1
add_library (CTensorFlow INTERFACE )
2
2
if (NOT USE_BUNDLED_CTENSORFLOW)
3
3
target_include_directories (CTensorFlow INTERFACE
4
- ${CMAKE_CURRENT_SOURCE_DIR} )
4
+ ${CMAKE_CURRENT_SOURCE_DIR} / include )
5
5
endif ()
6
6
target_link_directories (CTensorFlow INTERFACE
7
7
$<TARGET_FILE_DIR:x10>)
@@ -10,7 +10,7 @@ target_link_libraries(CTensorFlow INTERFACE
10
10
11
11
list (GET X10_INCLUDE_DIRS 0 X10_SOURCE_DIR)
12
12
13
- install (FILES module.modulemap CTensorFlow.h
13
+ install (FILES include / module.modulemap include / CTensorFlow.h
14
14
DESTINATION lib/swift/tensorflow)
15
15
install (DIRECTORY ${X10_SOURCE_DIR} /tensorflow/c
16
16
DESTINATION lib/swift/tensorflow
Original file line number Diff line number Diff line change
1
+ // Copyright 2020 TensorFlow Authors
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
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
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
+ #include "CTensorFlow.h"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // Copyright 2020 TensorFlow Authors
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
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
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
+ #ifndef CTensorFlow_CTensorFlow_h
16
+ #define CTensorFlow_CTensorFlow_h
17
+
18
+ #include <tensorflow/c/c_api.h>
19
+ #include <tensorflow/c/c_api_experimental.h>
20
+ #include <tensorflow/c/eager/c_api.h>
21
+
22
+ #endif
File renamed without changes.
You can’t perform that action at this time.
0 commit comments