View source on GitHub |
Identity function that returns the input label.
tfr.keras.utils.identity(
label: tfr.keras.model.TensorLike
) -> tf.Tensor
Args | |
---|---|
label
|
A Tensor or anything that can be converted to a tensor using
tf.convert_to_tensor .
|
Returns | |
---|---|
The input label. |