View source on GitHub |
Helper decorator function to optionally apply the @tf.function annotation.
tfm.nlp.layers.util.TfFunctionIfEagerDecorator(
**kwargs
)
Methods
__call__
__call__(
func
)
Call self as a function.