diff options
Diffstat (limited to 'tensorflow/core/platform/init_main.h')
-rw-r--r-- | tensorflow/core/platform/init_main.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tensorflow/core/platform/init_main.h b/tensorflow/core/platform/init_main.h new file mode 100644 index 0000000000..ce3d1fbc2f --- /dev/null +++ b/tensorflow/core/platform/init_main.h @@ -0,0 +1,16 @@ +#ifndef TENSORFLOW_PLATFORM_INIT_MAIN_H_ +#define TENSORFLOW_PLATFORM_INIT_MAIN_H_ + +namespace tensorflow { +namespace port { + +// Platform-specific initialization routine that may be invoked by a +// main() program that uses TensorFlow. +// +// Default implementation does nothing. +void InitMain(const char* usage, int* argc, char*** argv); + +} // namespace port +} // namespace tensorflow + +#endif // TENSORFLOW_PLATFORM_INIT_MAIN_H_ |