tff.framework.is_called_intrinsic

View source on GitHub

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

comp The computation building block to test.
uri An optional URI or list of URIs; the same form as what is accepted by isinstance.

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