Skip to content

Commit

Permalink
Prevent runtime_shape.cc removal during sync (tensorflow#2484)
Browse files Browse the repository at this point in the history
Despite existing in TFLite, the runtime_shape.h has long differed
between TFLite and TFLM. The file is not copied during the sync and the
sync script does a `git checkout` on the file to ensure that the
existing version in the TFLM tree remains.

In PR tensorflow#2476, we needed to add a runtime_shape.cc file. This PR ensures
that the runtime_shape.cc file will not be removed during the sync by
performing a `git checkout` on the existing file.

BUG=323856831
  • Loading branch information
rascani authored Feb 28, 2024
1 parent b991e72 commit 20fd5b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/sync_from_upstream_tf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ done
git checkout tensorflow/lite/kernels/internal/optimized/neon_check.h
# http://b/149862813
git checkout tensorflow/lite/kernels/internal/runtime_shape.h
git checkout tensorflow/lite/kernels/internal/runtime_shape.cc
# http://b/187728891
git checkout tensorflow/lite/kernels/op_macros.h
# http://b/242077843
Expand Down

0 comments on commit 20fd5b2

Please sign in to comment.