TensorFlow 2.0 Beta is available Learn more

tff.framework.is_tensorflow_compatible_type

Checks type_spec against an explicit whitelist for tf_computation.

tff.framework.is_tensorflow_compatible_type(type_spec)

Defined in python/core/impl/type_utils.py.