Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
KMSCAKKSCFKA AKFACAMADCAS
tensorflow-federated
Commits
4c8b4536
Commit
4c8b4536
authored
Nov 12, 2020
by
Michael Reneer
Committed by
tensorflow-copybara
Nov 12, 2020
Browse files
Add tracing API to the Python package.
PiperOrigin-RevId: 342128507
parent
870441c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
tensorflow_federated/BUILD
View file @
4c8b4536
...
...
@@ -26,6 +26,7 @@ py_library(
deps
=
[
":version"
,
"//tensorflow_federated/python/aggregators"
,
"//tensorflow_federated/python/common_libs:tracing"
,
"//tensorflow_federated/python/core/api:computation_base"
,
"//tensorflow_federated/python/core/api:computation_types"
,
"//tensorflow_federated/python/core/api:computations"
,
...
...
tensorflow_federated/__init__.py
View file @
4c8b4536
...
...
@@ -20,6 +20,7 @@ from tensorflow_federated.version import __version__ # pylint: disable=g-bad-im
from
tensorflow_federated.python
import
aggregators
from
tensorflow_federated.python
import
learning
from
tensorflow_federated.python
import
simulation
from
tensorflow_federated.python.common_libs
import
tracing
as
profiler
from
tensorflow_federated.python.core
import
backends
from
tensorflow_federated.python.core
import
framework
from
tensorflow_federated.python.core
import
templates
...
...
tensorflow_federated/python/common_libs/BUILD
View file @
4c8b4536
...
...
@@ -126,8 +126,10 @@ py_library(
name
=
"tracing"
,
srcs
=
[
"tracing.py"
],
srcs_version
=
"PY3"
,
# TODO(b/163856734): Fix the visibility of the `common_libs`.
visibility
=
[
"//tensorflow_federated:internal"
],
visibility
=
[
"//tensorflow_federated:__pkg__"
,
"//tensorflow_federated:internal"
,
],
deps
=
[
":py_typecheck"
],
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment