Announcing the TensorFlow Dev Summit 2020 Learn more

tff.framework.is_tensorflow_compatible_type

View source on GitHub

Checks type_spec against an explicit whitelist for tf_computation.

tff.framework.is_tensorflow_compatible_type(type_spec)