RSVP for your your local TensorFlow Everywhere event today!


Constructs tff.backends.mapreduce.BroadcastForm given a computation.

comp An instance of tff.Computation that is compatible with broadcast form. Computations are only compatible if they take in a single value placed at server, return a single value placed at clients, and do not contain any aggregations.
grappler_config AN optional instance of tf.compat.v1.ConfigProto to configure Grappler graph optimization of the Tensorflow graphs backing the resulting tff.backends.mapreduce.BroadcastForm. These options are combined with a set of defaults that aggressively configure Grappler. If None, grappler is bypassed.

An instance of tff.backends.mapreduce.BroadcastForm equivalent to the provided tff.Computation.