Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tff.framework.is_called_intrinsic

View source

Tests if comp is a called intrinsic with the given uri.

tff.framework.is_called_intrinsic(
    comp,
    uri=None
)

Args:

  • comp: The computation building block to test.
  • uri: A uri or a collection of uris; the same as what is accepted by isinstance.

Returns:

True if comp is a called intrinsic with the given uri, otherwise False.