Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0d73a9b

Browse files
authoredApr 8, 2021
Move op generation to Java (#244)
1 parent d570edb commit 0d73a9b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+37146
-54
lines changed
 

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ __pycache__
1616
cmake_build/
1717
tensorflow/contrib/cmake/_build/
1818
.idea/**
19+
.run
1920
/build/
2021
[Bb]uild/
2122
/tensorflow/core/util/version_info.cc

‎tensorflow-core/tensorflow-core-api/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ $BAZEL_BIN/java_op_generator \
8989
GEN_RESOURCE_DIR=src/gen/resources/org/tensorflow/op
9090
mkdir -p $GEN_RESOURCE_DIR
9191

92-
# Generate Java operator wrappers
92+
# Export op defs
9393
$BAZEL_BIN/java_op_exporter \
9494
--api_dirs=$BAZEL_SRCS/external/org_tensorflow/tensorflow/core/api_def/base_api,src/bazel/api_def \
9595
$TENSORFLOW_LIB > $GEN_RESOURCE_DIR/ops.pb

0 commit comments

Comments
 (0)
Please sign in to comment.