From adc1aff032b6a67a15144cf2f9a91b473deedf8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20de=20Vulpilli=C3=A8res?= Date: Wed, 9 Aug 2017 15:53:51 +0200 Subject: [PATCH] Fix #188 : Issues with ops.exit_tf, and add ops.open_tb() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ops.exit_tf() : changes to avoid throwing exceptions (see issue #188), added “port” as argument, some work still needed (for windows). Also, it might be better to separate the functions performed by this into subcomponent Ops.open_tb() : self explanatory but only works on Mac for now => if anyone can implement and test on linux and windows, please do --- .gitignore | 1 + docs/modules/ops.rst | 8 +++++-- tensorlayer/ops.py | 53 +++++++++++++++++++++++++++++++++++++------- 3 files changed, 52 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index d200781e6..f3d3f94cf 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ tensorlayer.egg-info data/.DS_Store *.pyc *.gz +.spyproject/ diff --git a/docs/modules/ops.rst b/docs/modules/ops.rst index 208ef2fb0..984f46e7c 100755 --- a/docs/modules/ops.rst +++ b/docs/modules/ops.rst @@ -19,10 +19,14 @@ Operation system, more functions can be found in `TensorFlow API