View source on GitHub |
Creates tff.Computation
from a DistributeAggregate form.
tff.backends.mapreduce.get_computation_for_distribute_aggregate_form(
daf: tff.backends.mapreduce.DistributeAggregateForm
) -> tff.Computation
Args | |
---|---|
daf
|
An instance of tff.backends.mapreduce.DistributeAggregateForm .
|
Returns | |
---|---|
An instance of tff.Computation that corresponds to daf .
|
Raises | |
---|---|
TypeError
|
If the arguments are of the wrong types. |