Commit Graph

8 Commits

Author SHA1 Message Date
A. Unique TensorFlower
9f7f6e9faa allow profiler_client.py v2 (our rpc client) to provide ProfilerOptions,
v1/eager profiler_client.py will use default options.
add device_tracer_level to ProfilerOptions and allow default values (no need to specify all options and in specific order)

PiperOrigin-RevId: 306308283
Change-Id: Ia9a6a7cfde37142be79e314627b9d63993b6283c
2020-04-13 14:24:44 -07:00
A. Unique TensorFlower
7155424e74 Add deprecation notice for tf.python.eager.profiler. Use tf.profiler instead.
PiperOrigin-RevId: 303750665
Change-Id: Iddf6118f99352259cb78d955ae2ed5003ae4e0ec
2020-03-30 09:15:03 -07:00
Jose Baiocchi
767e4d5dab Move profiler API implementation to _pywrap_profiler
PiperOrigin-RevId: 295240754
Change-Id: I3664efc053696a3c521d18527c04747688cac932
2020-02-14 15:50:39 -08:00
Amit Patankar
a02fe6c24a Export the TF Session classes and functions from C++ to Python with pybind11 instead of swig. This is part of a larger effort to deprecate swig and eventually with modularization break pywrap_tensorflow into smaller components. It will also make exporting C++ ops to Python significantly easier. XLA is using the pybind11 macros already. Please refer to https://github.com/tensorflow/community/blob/master/rfcs/20190208-pybind11.md for more information.
PiperOrigin-RevId: 292259851
Change-Id: If5abe93f9cf25018d185e220d4dfbc216b5f3b32
2020-01-29 18:29:05 -08:00
Amit Patankar
7bd345bcbb Export the Eager classes and functions from C++ to Python with pybind11 instead of swig. This is part of a larger effort to deprecate swig and eventually with modularization break pywrap_tensorflow into smaller components. It will also make exporting C++ ops to Python significantly easier. XLA is using the pybind11 macros already. Please refer to https://github.com/tensorflow/community/blob/master/rfcs/20190208-pybind11.md for more information.
PiperOrigin-RevId: 286110711
Change-Id: I7bf6f6f4ce1d6bf3e8a3e40ef4a83f82333800f6
2019-12-17 19:40:40 -08:00
A. Unique TensorFlower
514004a234 Add a StartMonitoring Python API.
PiperOrigin-RevId: 253079116
2019-06-13 12:18:31 -07:00
Gaurav Jain
3afb32ce1f Use TF_Status* SWIG typemap
This avoids the need to use raise_exception_on_not_ok_status
which has been removed from the v2 API.

PiperOrigin-RevId: 244049607
2019-04-17 13:06:01 -07:00
A. Unique TensorFlower
8b228c17d8 Python api to allow TensorBoard performing on-demand profiling.
PiperOrigin-RevId: 234895107
2019-02-20 17:41:03 -08:00