# All symbols in TensorFlow Ranking

<br />

## Primary symbols

- [`tfr`](https://www.tensorflow.org/ranking/api_docs/python/tfr)
- [`tfr.data`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data)
- [`tfr.data.build_ranking_dataset`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/build_ranking_dataset)
- [`tfr.data.build_ranking_dataset_with_parsing_fn`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/build_ranking_dataset_with_parsing_fn)
- [`tfr.data.build_ranking_serving_input_receiver_fn`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/build_ranking_serving_input_receiver_fn)
- [`tfr.data.build_ranking_serving_input_receiver_fn_with_parsing_fn`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/build_ranking_serving_input_receiver_fn_with_parsing_fn)
- [`tfr.data.build_sequence_example_serving_input_receiver_fn`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/build_sequence_example_serving_input_receiver_fn)
- [`tfr.data.build_tf_example_serving_input_receiver_fn`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/build_tf_example_serving_input_receiver_fn)
- [`tfr.data.make_parsing_fn`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/make_parsing_fn)
- [`tfr.data.parse_from_example_in_example`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/parse_from_example_in_example)
- [`tfr.data.parse_from_example_list`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/parse_from_example_list)
- [`tfr.data.parse_from_sequence_example`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/parse_from_sequence_example)
- [`tfr.data.parse_from_tf_example`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/parse_from_tf_example)
- [`tfr.data.read_batched_sequence_example_dataset`](https://www.tensorflow.org/ranking/api_docs/python/tfr/data/read_batched_sequence_example_dataset)
- [`tfr.extension`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension)
- [`tfr.extension.pipeline`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/pipeline)
- [`tfr.extension.pipeline.RankingPipeline`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/pipeline/RankingPipeline)
- [`tfr.extension.premade`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade)
- [`tfr.extension.premade.TFRBertConfig`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertConfig)
- [`tfr.extension.premade.TFRBertDataConfig`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertDataConfig)
- [`tfr.extension.premade.TFRBertDataLoader`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertDataLoader)
- [`tfr.extension.premade.TFRBertModelBuilder`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertModelBuilder)
- [`tfr.extension.premade.TFRBertModelConfig`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertModelConfig)
- [`tfr.extension.premade.TFRBertScorer`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertScorer)
- [`tfr.extension.premade.TFRBertTask`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertTask)
- [`tfr.extension.premade.TensorDict`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TensorDict)
- [`tfr.extension.premade.TensorLike`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/TensorLike)
- [`tfr.extension.premade.tfrbert_task`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/tfrbert_task)
- [`tfr.extension.premade.tfrbert_task.TFRBertConfig`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertConfig)
- [`tfr.extension.premade.tfrbert_task.TFRBertDataConfig`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertDataConfig)
- [`tfr.extension.premade.tfrbert_task.TFRBertDataLoader`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertDataLoader)
- [`tfr.extension.premade.tfrbert_task.TFRBertModelBuilder`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertModelBuilder)
- [`tfr.extension.premade.tfrbert_task.TFRBertModelConfig`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertModelConfig)
- [`tfr.extension.premade.tfrbert_task.TFRBertScorer`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertScorer)
- [`tfr.extension.premade.tfrbert_task.TFRBertTask`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TFRBertTask)
- [`tfr.extension.premade.tfrbert_task.TensorDict`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/premade/TensorDict)
- [`tfr.extension.premade.tfrbert_task.TensorLike`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/TensorLike)
- [`tfr.extension.task`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/task)
- [`tfr.extension.task.FeatureSpec`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/task/FeatureSpec)
- [`tfr.extension.task.RankingDataConfig`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/task/RankingDataConfig)
- [`tfr.extension.task.RankingDataLoader`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/task/RankingDataLoader)
- [`tfr.extension.task.RankingTask`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/task/RankingTask)
- [`tfr.extension.task.RankingTaskConfig`](https://www.tensorflow.org/ranking/api_docs/python/tfr/extension/task/RankingTaskConfig)
- [`tfr.keras`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras)
- [`tfr.keras.layers`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/layers)
- [`tfr.keras.layers.Bilinear`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/layers/Bilinear)
- [`tfr.keras.layers.ConcatFeatures`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/layers/ConcatFeatures)
- [`tfr.keras.layers.DocumentInteractionAttention`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/layers/DocumentInteractionAttention)
- [`tfr.keras.layers.FlattenList`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/layers/FlattenList)
- [`tfr.keras.layers.GAMLayer`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/layers/GAMLayer)
- [`tfr.keras.layers.RestoreList`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/layers/RestoreList)
- [`tfr.keras.layers.SelfAttentionMask`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/layers/SelfAttentionMask)
- [`tfr.keras.layers.create_tower`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/layers/create_tower)
- [`tfr.keras.losses`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses)
- [`tfr.keras.losses.ApproxMRRLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/ApproxMRRLoss)
- [`tfr.keras.losses.ApproxNDCGLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/ApproxNDCGLoss)
- [`tfr.keras.losses.ClickEMLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/ClickEMLoss)
- [`tfr.keras.losses.CoupledRankDistilLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/CoupledRankDistilLoss)
- [`tfr.keras.losses.DCGLambdaWeight`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/DCGLambdaWeight)
- [`tfr.keras.losses.GumbelApproxNDCGLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/GumbelApproxNDCGLoss)
- [`tfr.keras.losses.LabelDiffLambdaWeight`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/LabelDiffLambdaWeight)
- [`tfr.keras.losses.ListMLELambdaWeight`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/ListMLELambdaWeight)
- [`tfr.keras.losses.ListMLELoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/ListMLELoss)
- [`tfr.keras.losses.MeanSquaredLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/MeanSquaredLoss)
- [`tfr.keras.losses.MixtureEMLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/MixtureEMLoss)
- [`tfr.keras.losses.NDCGLambdaWeight`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/NDCGLambdaWeight)
- [`tfr.keras.losses.NDCGLambdaWeightV2`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/NDCGLambdaWeightV2)
- [`tfr.keras.losses.OrdinalLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/OrdinalLoss)
- [`tfr.keras.losses.PairwiseHingeLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/PairwiseHingeLoss)
- [`tfr.keras.losses.PairwiseLogisticLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/PairwiseLogisticLoss)
- [`tfr.keras.losses.PairwiseMSELoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/PairwiseMSELoss)
- [`tfr.keras.losses.PairwiseSoftZeroOneLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/PairwiseSoftZeroOneLoss)
- [`tfr.keras.losses.PrecisionLambdaWeight`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/PrecisionLambdaWeight)
- [`tfr.keras.losses.RankingLossKey`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/RankingLossKey)
- [`tfr.keras.losses.SigmoidCrossEntropyLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/SigmoidCrossEntropyLoss)
- [`tfr.keras.losses.SoftmaxLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/SoftmaxLoss)
- [`tfr.keras.losses.UniqueSoftmaxLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/UniqueSoftmaxLoss)
- [`tfr.keras.losses.YetiDCGLambdaWeight`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/YetiDCGLambdaWeight)
- [`tfr.keras.losses.YetiLogisticLoss`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/YetiLogisticLoss)
- [`tfr.keras.losses.get`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/losses/get)
- [`tfr.keras.metrics`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics)
- [`tfr.keras.metrics.ARPMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/ARPMetric)
- [`tfr.keras.metrics.AlphaDCGMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/AlphaDCGMetric)
- [`tfr.keras.metrics.DCGMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/DCGMetric)
- [`tfr.keras.metrics.HitsMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/HitsMetric)
- [`tfr.keras.metrics.MRRMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/MRRMetric)
- [`tfr.keras.metrics.MeanAveragePrecisionMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/MeanAveragePrecisionMetric)
- [`tfr.keras.metrics.NDCGMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/NDCGMetric)
- [`tfr.keras.metrics.OPAMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/OPAMetric)
- [`tfr.keras.metrics.PrecisionIAMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/PrecisionIAMetric)
- [`tfr.keras.metrics.PrecisionMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/PrecisionMetric)
- [`tfr.keras.metrics.RankingMetricKey`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/RankingMetricKey)
- [`tfr.keras.metrics.RecallMetric`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/RecallMetric)
- [`tfr.keras.metrics.default_keras_metrics`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/default_keras_metrics)
- [`tfr.keras.metrics.get`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/metrics/get)
- [`tfr.keras.model`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model)
- [`tfr.keras.model.AbstractModelBuilder`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/AbstractModelBuilder)
- [`tfr.keras.model.DNNScorer`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/DNNScorer)
- [`tfr.keras.model.FeatureSpecInputCreator`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/FeatureSpecInputCreator)
- [`tfr.keras.model.GAMScorer`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/GAMScorer)
- [`tfr.keras.model.InputCreator`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/InputCreator)
- [`tfr.keras.model.ModelBuilder`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/ModelBuilder)
- [`tfr.keras.model.ModelBuilderWithMask`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/ModelBuilderWithMask)
- [`tfr.keras.model.Preprocessor`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/Preprocessor)
- [`tfr.keras.model.PreprocessorWithSpec`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/PreprocessorWithSpec)
- [`tfr.keras.model.Scorer`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/Scorer)
- [`tfr.keras.model.TensorDict`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/TensorDict)
- [`tfr.keras.model.TensorLike`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/TensorLike)
- [`tfr.keras.model.TypeSpecInputCreator`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/TypeSpecInputCreator)
- [`tfr.keras.model.UnivariateScorer`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/UnivariateScorer)
- [`tfr.keras.model.create_keras_model`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/create_keras_model)
- [`tfr.keras.pipeline`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline)
- [`tfr.keras.pipeline.AbstractDatasetBuilder`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/AbstractDatasetBuilder)
- [`tfr.keras.pipeline.AbstractPipeline`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/AbstractPipeline)
- [`tfr.keras.pipeline.BaseDatasetBuilder`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/BaseDatasetBuilder)
- [`tfr.keras.pipeline.DatasetHparams`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/DatasetHparams)
- [`tfr.keras.pipeline.DatasetHparams.dataset_reader`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/DatasetHparams/dataset_reader)
- [`tfr.keras.pipeline.ModelFitPipeline`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/ModelFitPipeline)
- [`tfr.keras.pipeline.MultiLabelDatasetBuilder`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/MultiLabelDatasetBuilder)
- [`tfr.keras.pipeline.MultiTaskPipeline`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/MultiTaskPipeline)
- [`tfr.keras.pipeline.NullDatasetBuilder`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/NullDatasetBuilder)
- [`tfr.keras.pipeline.PipelineHparams`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/PipelineHparams)
- [`tfr.keras.pipeline.SimpleDatasetBuilder`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/SimpleDatasetBuilder)
- [`tfr.keras.pipeline.SimplePipeline`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/pipeline/SimplePipeline)
- [`tfr.keras.saved_model`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/saved_model)
- [`tfr.keras.saved_model.Signatures`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/saved_model/Signatures)
- [`tfr.keras.strategy_utils`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/strategy_utils)
- [`tfr.keras.strategy_utils.NullContextManager`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/strategy_utils/NullContextManager)
- [`tfr.keras.strategy_utils.get_output_filepath`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/strategy_utils/get_output_filepath)
- [`tfr.keras.strategy_utils.get_strategy`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/strategy_utils/get_strategy)
- [`tfr.keras.strategy_utils.strategy_scope`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/strategy_utils/strategy_scope)
- [`tfr.keras.utils`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils)
- [`tfr.keras.utils.GainFunction`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/GainFunction)
- [`tfr.keras.utils.PositiveFunction`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/GainFunction)
- [`tfr.keras.utils.RankDiscountFunction`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/GainFunction)
- [`tfr.keras.utils.TensorLike`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/TensorLike)
- [`tfr.keras.utils.deserialize_keras_object`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/deserialize_keras_object)
- [`tfr.keras.utils.identity`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/identity)
- [`tfr.keras.utils.inverse`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/inverse)
- [`tfr.keras.utils.is_greater_equal_1`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/is_greater_equal_1)
- [`tfr.keras.utils.log2_inverse`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/log2_inverse)
- [`tfr.keras.utils.pow_minus_1`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/pow_minus_1)
- [`tfr.keras.utils.serialize_keras_object`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/serialize_keras_object)
- [`tfr.keras.utils.symmetric_log1p`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/symmetric_log1p)
- [`tfr.utils`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils)
- [`tfr.utils.LossFunction`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/LossFunction)
- [`tfr.utils.MetricFunction`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/LossFunction)
- [`tfr.utils.TensorLike`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/TensorLike)
- [`tfr.utils.TransformationFunction`](https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/utils/GainFunction)
- [`tfr.utils.de_noise`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/de_noise)
- [`tfr.utils.gather_per_row`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/gather_per_row)
- [`tfr.utils.is_label_valid`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/is_label_valid)
- [`tfr.utils.organize_valid_indices`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/organize_valid_indices)
- [`tfr.utils.padded_nd_indices`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/padded_nd_indices)
- [`tfr.utils.parse_keys_and_weights`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/parse_keys_and_weights)
- [`tfr.utils.ragged_to_dense`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/ragged_to_dense)
- [`tfr.utils.reshape_first_ndims`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/reshape_first_ndims)
- [`tfr.utils.reshape_to_2d`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/reshape_to_2d)
- [`tfr.utils.shuffle_valid_indices`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/shuffle_valid_indices)
- [`tfr.utils.sort_by_scores`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/sort_by_scores)
- [`tfr.utils.sorted_ranks`](https://www.tensorflow.org/ranking/api_docs/python/tfr/utils/sorted_ranks)