View source on GitHub

Checks whitelist of intrinsics reducible to aggregate or broadcast.

comp Instance of building_blocks.ComputationBuildingBlock to check for presence of intrinsics not currently immediately reducible to FEDERATED_AGGREGATE or FEDERATED_BROADCAST, or local processing.

ValueError If we encounter an intrinsic under comp that is not whitelisted as currently reducible.