|View source on GitHub|
Checks whitelist of intrinsics reducible to aggregate or broadcast.
tff.framework.check_intrinsics_whitelisted_for_reduction( comp )
comp: Instance of
building_blocks.ComputationBuildingBlockto check for presence of intrinsics not currently immediately reducible to
FEDERATED_BROADCAST, or local processing.
ValueError: If we encounter an intrinsic under
compthat is not whitelisted as currently reducible.