tfrs.tasks.Task

Task class.

This is a marker class: inherit from this class if you'd like to make your tasks distinguishable from plain Keras layers.