View source on GitHub |
Determines if type_signature
contains only server-placed data.
tff.program.contains_only_server_placed_data(
type_signature: tff.types.Type
) -> bool
Determines if type_signature
contains only:
tff.StructType
stff.SequenceType
s- server-placed
tff.FederatedType
s tff.TensorType
s
Args | |
---|---|
type_signature
|
The tff.Type to test.
|
Returns | |
---|---|
True if type_signature contains only server-placed data, otherwise
False .
|