Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tensorflow_ranking/examples/keras/landingpage_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
" \u003ca target=\"_blank\" href=\"https://www.tensorflow.org/ranking/overview\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/tf_logo_32px.png\" /\u003eView on TensorFlow.org\u003c/a\u003e\n",
" \u003c/td\u003e\n",
" \u003ctd\u003e\n",
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/ranking/blob/master/examples/keras/landingpage_example.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
" \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/examples/keras/landingpage_example.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n",
" \u003c/td\u003e\n",
"\u003c/table\u003e"
]
Expand Down Expand Up @@ -101,7 +101,7 @@
"\n",
"# Create a model with Keras Functional API.\n",
"inputs = {\n",
" name: tf.keras.Input(shape=(None, 1), dtype=tf.float32, name=name)\n",
" name: tf.keras.Input(shape=(None, 136), dtype=tf.float32, name=name)\n",
" for name in ds.element_spec[0]\n",
" if name != \"_mask\"\n",
"}\n",
Expand Down