# tf.contrib.learn.no_op_train_fn

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/learn/python/learn/estimators/head.py#L499-L502) |

DEPRECATED FUNCTION

    tf.contrib.learn.no_op_train_fn(
        loss
    )

> [!WARNING]
> **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use 'lambda _: tf.no_op()'.