diff options
author | 2017-06-27 20:16:40 -0700 | |
---|---|---|
committer | 2017-06-28 00:24:42 -0700 | |
commit | 5c21edd6a43ca56ff1c9b209c9f54d6fedb0823b (patch) | |
tree | 3239f638abd3813fb57e824588fbe7dc59805a80 | |
parent | b19534951d4e937d7f3d2435c62a969a2fc4e233 (diff) |
Use a non-empty default value for the entry point for tfcompile.
This ensures we get a sane output when tfcompile is invoked manually
without only the bare minimum command line arguments.
PiperOrigin-RevId: 160363243
-rw-r--r-- | tensorflow/compiler/aot/tfcompile_main.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/compiler/aot/tfcompile_main.cc b/tensorflow/compiler/aot/tfcompile_main.cc index 9ec205a126..72cb676b82 100644 --- a/tensorflow/compiler/aot/tfcompile_main.cc +++ b/tensorflow/compiler/aot/tfcompile_main.cc @@ -128,6 +128,7 @@ int main(int argc, char** argv) { flags.target_triple = "x86_64-pc-linux"; flags.out_object = "out.o"; flags.out_header = "out.h"; + flags.entry_point = "entry"; std::vector<tensorflow::Flag> flag_list; AppendMainFlags(&flag_list, &flags); |