diff --git a/setup.py b/setup.py index b3fa5cc..4f44f96 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/__init__.py b/tensorflow_recommenders/__init__.py index 63e3a05..12071bd 100644 --- a/tensorflow_recommenders/__init__.py +++ b/tensorflow_recommenders/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/examples/__init__.py b/tensorflow_recommenders/examples/__init__.py index 05bef91..a56ffed 100644 --- a/tensorflow_recommenders/examples/__init__.py +++ b/tensorflow_recommenders/examples/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/examples/movielens.py b/tensorflow_recommenders/examples/movielens.py index c92aeb9..a9d42eb 100644 --- a/tensorflow_recommenders/examples/movielens.py +++ b/tensorflow_recommenders/examples/movielens.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/examples/nbtool.py b/tensorflow_recommenders/examples/nbtool.py index 1192919..f1c4ac9 100644 --- a/tensorflow_recommenders/examples/nbtool.py +++ b/tensorflow_recommenders/examples/nbtool.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/__init__.py b/tensorflow_recommenders/experimental/__init__.py index 4b4ba62..fec3eb1 100644 --- a/tensorflow_recommenders/experimental/__init__.py +++ b/tensorflow_recommenders/experimental/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/layers/__init__.py b/tensorflow_recommenders/experimental/layers/__init__.py index 3ca4d53..3eab649 100644 --- a/tensorflow_recommenders/experimental/layers/__init__.py +++ b/tensorflow_recommenders/experimental/layers/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/layers/embedding/__init__.py b/tensorflow_recommenders/experimental/layers/embedding/__init__.py index d7de7a1..eebe7fc 100644 --- a/tensorflow_recommenders/experimental/layers/embedding/__init__.py +++ b/tensorflow_recommenders/experimental/layers/embedding/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/layers/embedding/partial_tpu_embedding.py b/tensorflow_recommenders/experimental/layers/embedding/partial_tpu_embedding.py index 500d546..9d0256e 100644 --- a/tensorflow_recommenders/experimental/layers/embedding/partial_tpu_embedding.py +++ b/tensorflow_recommenders/experimental/layers/embedding/partial_tpu_embedding.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/layers/embedding/partial_tpu_embedding_test.py b/tensorflow_recommenders/experimental/layers/embedding/partial_tpu_embedding_test.py index 1443036..1b4627f 100644 --- a/tensorflow_recommenders/experimental/layers/embedding/partial_tpu_embedding_test.py +++ b/tensorflow_recommenders/experimental/layers/embedding/partial_tpu_embedding_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/models/__init__.py b/tensorflow_recommenders/experimental/models/__init__.py index 08ce00e..679bae4 100644 --- a/tensorflow_recommenders/experimental/models/__init__.py +++ b/tensorflow_recommenders/experimental/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/models/ranking.py b/tensorflow_recommenders/experimental/models/ranking.py index f234861..1cf8f94 100644 --- a/tensorflow_recommenders/experimental/models/ranking.py +++ b/tensorflow_recommenders/experimental/models/ranking.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/models/ranking_test.py b/tensorflow_recommenders/experimental/models/ranking_test.py index 64be9c7..c8d06e9 100644 --- a/tensorflow_recommenders/experimental/models/ranking_test.py +++ b/tensorflow_recommenders/experimental/models/ranking_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/optimizers/__init__.py b/tensorflow_recommenders/experimental/optimizers/__init__.py index 35bdafe..1a7d80d 100644 --- a/tensorflow_recommenders/experimental/optimizers/__init__.py +++ b/tensorflow_recommenders/experimental/optimizers/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/optimizers/clippy_adagrad.py b/tensorflow_recommenders/experimental/optimizers/clippy_adagrad.py index 29c1be7..a359ed3 100644 --- a/tensorflow_recommenders/experimental/optimizers/clippy_adagrad.py +++ b/tensorflow_recommenders/experimental/optimizers/clippy_adagrad.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/optimizers/clippy_adagrad_test.py b/tensorflow_recommenders/experimental/optimizers/clippy_adagrad_test.py index f6ec3bd..f95f372 100644 --- a/tensorflow_recommenders/experimental/optimizers/clippy_adagrad_test.py +++ b/tensorflow_recommenders/experimental/optimizers/clippy_adagrad_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/optimizers/composite_optimizer.py b/tensorflow_recommenders/experimental/optimizers/composite_optimizer.py index 750f0da..2aabb8a 100644 --- a/tensorflow_recommenders/experimental/optimizers/composite_optimizer.py +++ b/tensorflow_recommenders/experimental/optimizers/composite_optimizer.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/experimental/optimizers/composite_optimizer_test.py b/tensorflow_recommenders/experimental/optimizers/composite_optimizer_test.py index bf43427..53ebf76 100644 --- a/tensorflow_recommenders/experimental/optimizers/composite_optimizer_test.py +++ b/tensorflow_recommenders/experimental/optimizers/composite_optimizer_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/__init__.py b/tensorflow_recommenders/layers/__init__.py index 2b791fe..d859a85 100644 --- a/tensorflow_recommenders/layers/__init__.py +++ b/tensorflow_recommenders/layers/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/blocks.py b/tensorflow_recommenders/layers/blocks.py index 333f2cb..b38fcdf 100644 --- a/tensorflow_recommenders/layers/blocks.py +++ b/tensorflow_recommenders/layers/blocks.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/embedding/__init__.py b/tensorflow_recommenders/layers/embedding/__init__.py index d02175e..4ea029a 100644 --- a/tensorflow_recommenders/layers/embedding/__init__.py +++ b/tensorflow_recommenders/layers/embedding/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/embedding/tpu_embedding_layer.py b/tensorflow_recommenders/layers/embedding/tpu_embedding_layer.py index f67f56b..49e0cd3 100644 --- a/tensorflow_recommenders/layers/embedding/tpu_embedding_layer.py +++ b/tensorflow_recommenders/layers/embedding/tpu_embedding_layer.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/embedding/tpu_embedding_layer_test.py b/tensorflow_recommenders/layers/embedding/tpu_embedding_layer_test.py index 1d13428..804a0bd 100644 --- a/tensorflow_recommenders/layers/embedding/tpu_embedding_layer_test.py +++ b/tensorflow_recommenders/layers/embedding/tpu_embedding_layer_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/factorized_top_k.py b/tensorflow_recommenders/layers/factorized_top_k.py index 82de45c..056be4d 100644 --- a/tensorflow_recommenders/layers/factorized_top_k.py +++ b/tensorflow_recommenders/layers/factorized_top_k.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/factorized_top_k_test.py b/tensorflow_recommenders/layers/factorized_top_k_test.py index bccf43f..4e7b5b7 100644 --- a/tensorflow_recommenders/layers/factorized_top_k_test.py +++ b/tensorflow_recommenders/layers/factorized_top_k_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/feature_interaction/__init__.py b/tensorflow_recommenders/layers/feature_interaction/__init__.py index 2c5bc2d..57edcfd 100644 --- a/tensorflow_recommenders/layers/feature_interaction/__init__.py +++ b/tensorflow_recommenders/layers/feature_interaction/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/feature_interaction/dcn.py b/tensorflow_recommenders/layers/feature_interaction/dcn.py index cea09aa..4de85d3 100644 --- a/tensorflow_recommenders/layers/feature_interaction/dcn.py +++ b/tensorflow_recommenders/layers/feature_interaction/dcn.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/feature_interaction/dcn_test.py b/tensorflow_recommenders/layers/feature_interaction/dcn_test.py index c564be1..2f3e0be 100644 --- a/tensorflow_recommenders/layers/feature_interaction/dcn_test.py +++ b/tensorflow_recommenders/layers/feature_interaction/dcn_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/feature_interaction/dot_interaction.py b/tensorflow_recommenders/layers/feature_interaction/dot_interaction.py index 56e8515..2cea56e 100644 --- a/tensorflow_recommenders/layers/feature_interaction/dot_interaction.py +++ b/tensorflow_recommenders/layers/feature_interaction/dot_interaction.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/feature_interaction/dot_interaction_test.py b/tensorflow_recommenders/layers/feature_interaction/dot_interaction_test.py index e7c906c..d170e17 100644 --- a/tensorflow_recommenders/layers/feature_interaction/dot_interaction_test.py +++ b/tensorflow_recommenders/layers/feature_interaction/dot_interaction_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/loss.py b/tensorflow_recommenders/layers/loss.py index f7615a3..2cd3300 100644 --- a/tensorflow_recommenders/layers/loss.py +++ b/tensorflow_recommenders/layers/loss.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/layers/loss_test.py b/tensorflow_recommenders/layers/loss_test.py index b00c8a7..1d23d52 100644 --- a/tensorflow_recommenders/layers/loss_test.py +++ b/tensorflow_recommenders/layers/loss_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/metrics/__init__.py b/tensorflow_recommenders/metrics/__init__.py index 51f3ee3..461479d 100644 --- a/tensorflow_recommenders/metrics/__init__.py +++ b/tensorflow_recommenders/metrics/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/metrics/factorized_top_k.py b/tensorflow_recommenders/metrics/factorized_top_k.py index 00eb435..7d16942 100644 --- a/tensorflow_recommenders/metrics/factorized_top_k.py +++ b/tensorflow_recommenders/metrics/factorized_top_k.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/metrics/factorized_top_k_test.py b/tensorflow_recommenders/metrics/factorized_top_k_test.py index a3f564c..2ef7571 100644 --- a/tensorflow_recommenders/metrics/factorized_top_k_test.py +++ b/tensorflow_recommenders/metrics/factorized_top_k_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/models/__init__.py b/tensorflow_recommenders/models/__init__.py index 82e2dda..1ee5370 100644 --- a/tensorflow_recommenders/models/__init__.py +++ b/tensorflow_recommenders/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/models/base.py b/tensorflow_recommenders/models/base.py index 432f934..dc285b4 100644 --- a/tensorflow_recommenders/models/base.py +++ b/tensorflow_recommenders/models/base.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -59,7 +59,8 @@ def compute_loss(self, inputs, training: bool = False) -> tf.Tensor: """ raise NotImplementedError( - "Implementers must implement the `compute_loss` method.") + "Implementers must implement the `compute_loss` method." + ) def train_step(self, inputs): """Custom train step using the `compute_loss` method.""" @@ -68,7 +69,9 @@ def train_step(self, inputs): loss = self.compute_loss(inputs, training=True) # Handle regularization losses as well. - regularization_loss = sum(self.losses) + regularization_loss = tf.reduce_sum( + [tf.reduce_sum(loss) for loss in self.losses] + ) total_loss = loss + regularization_loss @@ -88,7 +91,9 @@ def test_step(self, inputs): loss = self.compute_loss(inputs, training=False) # Handle regularization losses as well. - regularization_loss = sum(self.losses) + regularization_loss = tf.reduce_sum( + [tf.reduce_sum(loss) for loss in self.losses] + ) total_loss = loss + regularization_loss diff --git a/tensorflow_recommenders/models/base_test.py b/tensorflow_recommenders/models/base_test.py index c0cfa83..270412c 100644 --- a/tensorflow_recommenders/models/base_test.py +++ b/tensorflow_recommenders/models/base_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/tasks/__init__.py b/tensorflow_recommenders/tasks/__init__.py index 88ed31d..c5cfa2a 100644 --- a/tensorflow_recommenders/tasks/__init__.py +++ b/tensorflow_recommenders/tasks/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/tasks/base.py b/tensorflow_recommenders/tasks/base.py index dcafe53..068a8b1 100644 --- a/tensorflow_recommenders/tasks/base.py +++ b/tensorflow_recommenders/tasks/base.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/tasks/ranking.py b/tensorflow_recommenders/tasks/ranking.py index 891b975..675066c 100644 --- a/tensorflow_recommenders/tasks/ranking.py +++ b/tensorflow_recommenders/tasks/ranking.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/tasks/ranking_test.py b/tensorflow_recommenders/tasks/ranking_test.py index 314ec37..f6e6419 100644 --- a/tensorflow_recommenders/tasks/ranking_test.py +++ b/tensorflow_recommenders/tasks/ranking_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/tasks/retrieval.py b/tensorflow_recommenders/tasks/retrieval.py index bd44e05..34445d2 100644 --- a/tensorflow_recommenders/tasks/retrieval.py +++ b/tensorflow_recommenders/tasks/retrieval.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/tasks/retrieval_test.py b/tensorflow_recommenders/tasks/retrieval_test.py index 4c7df6d..9421558 100644 --- a/tensorflow_recommenders/tasks/retrieval_test.py +++ b/tensorflow_recommenders/tasks/retrieval_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tensorflow_recommenders/types.py b/tensorflow_recommenders/types.py index 02c47c0..880acc4 100644 --- a/tensorflow_recommenders/types.py +++ b/tensorflow_recommenders/types.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tools/build_api_docs.py b/tools/build_api_docs.py index 5bdb71e..cfe464f 100644 --- a/tools/build_api_docs.py +++ b/tools/build_api_docs.py @@ -1,4 +1,4 @@ -# Copyright 2022 The TensorFlow Recommenders Authors. +# Copyright 2023 The TensorFlow Recommenders Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.