Missed TensorFlow World? Check out the recap. Learn more

tff.framework.is_called_intrinsic

View source on GitHub

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.