|View source on GitHub|
Decorator that wraps
func so that its execution is intercepted.
tfp.edward2.interceptable( func )
The wrapper passes
func to the interceptor for the current thread.
If there is no next interceptor, we perform an "immediate" call to
func terminates without forwarding its execution to another
func: Function to wrap.
The decorated function.