Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions plugin/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ def get_readme():
),
package_data={
'xprof': ['static/**'],
'': ['_pywrap_profiler_plugin.so', '_pywrap_profiler_plugin.pyd'],
'xprof.convert': [
'_pywrap_profiler_plugin.so',
'_pywrap_profiler_plugin.pyd',
],
},
entry_points={
'tensorboard_plugins': [
(
'profile ='
' xprof.profile_plugin_loader:ProfilePluginLoader'
),
'profile = xprof.profile_plugin_loader:ProfilePluginLoader',
],
'console_scripts': [
'xprof = xprof.server:main',
Expand Down
5 changes: 5 additions & 0 deletions plugin/xprof/convert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@
# limitations under the License.
# ==============================================================================
"""Converter from protobuf to gviz/json format."""

try:
from . import _pywrap_profiler_plugin # pylint: disable=g-import-not-at-top
except ImportError:
pass