Clarify the need for calling tensorflow::port::InitMain() before using the rest of TensorFlow.
PiperOrigin-RevId: 219185259
This commit is contained in:
parent
4f09245c1f
commit
d09c687897
@ -19,10 +19,10 @@ limitations under the License.
|
|||||||
namespace tensorflow {
|
namespace tensorflow {
|
||||||
namespace port {
|
namespace port {
|
||||||
|
|
||||||
// Platform-specific initialization routine that may be invoked by a
|
// Platform-specific initialization routine that should be invoked by a
|
||||||
// main() program that uses TensorFlow.
|
// main() program that uses TensorFlow.
|
||||||
//
|
// This performs necessary initialization on some platforms; TensorFlow
|
||||||
// Default implementation does nothing.
|
// may not work unless it has been called.
|
||||||
void InitMain(const char* usage, int* argc, char*** argv);
|
void InitMain(const char* usage, int* argc, char*** argv);
|
||||||
|
|
||||||
} // namespace port
|
} // namespace port
|
||||||
|
Loading…
x
Reference in New Issue
Block a user