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
3687e564
Commit
3687e564
authored
Nov 09, 2020
by
Scott Wegner
Committed by
tensorflow-copybara
Nov 09, 2020
Browse files
Add missing space in multi-line error string.
PiperOrigin-RevId: 341441687
parent
9fdcf008
Changes
1
Hide whitespace changes
Inline
Side-by-side
tensorflow_federated/python/core/impl/value_impl.py
View file @
3687e564
...
...
@@ -186,7 +186,7 @@ class ValueImpl(value_base.Value, metaclass=abc.ABCMeta):
type_signature
=
_unfederated
(
self
.
type_signature
)
if
not
type_signature
.
is_struct
():
raise
TypeError
(
'Operator len() is only supported for (possibly federated) structure'
'Operator len() is only supported for (possibly federated) structure
'
'types, but the object on which it has been invoked is of type {}.'
.
format
(
self
.
type_signature
))
return
len
(
type_signature
)
...
...
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