Skip to content

Commit

Permalink
Update plot model files
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinprasadhs committed Aug 10, 2023
1 parent 44c4b9e commit 28657ed
Show file tree
Hide file tree
Showing 5 changed files with 179 additions and 166 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions examples/structured_data/ipynb/wide_deep_cross_networks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@
"source": [
"\n",
"def get_dataset_from_csv(csv_file_path, batch_size, shuffle=False):\n",
"\n",
" dataset = tf.data.experimental.make_csv_dataset(\n",
" csv_file_path,\n",
" batch_size=batch_size,\n",
Expand Down Expand Up @@ -335,7 +334,6 @@
"\n",
"\n",
"def run_experiment(model):\n",
"\n",
" model.compile(\n",
" optimizer=keras.optimizers.Adam(learning_rate=learning_rate),\n",
" loss=keras.losses.SparseCategoricalCrossentropy(),\n",
Expand Down Expand Up @@ -557,7 +555,6 @@
"source": [
"\n",
"def create_wide_and_deep_model():\n",
"\n",
" inputs = create_model_inputs()\n",
" wide = encode_inputs(inputs)\n",
" wide = layers.BatchNormalization()(wide)\n",
Expand Down Expand Up @@ -632,7 +629,6 @@
"source": [
"\n",
"def create_deep_and_cross_model():\n",
"\n",
" inputs = create_model_inputs()\n",
" x0 = encode_inputs(inputs, use_embedding=True)\n",
"\n",
Expand Down
Loading

0 comments on commit 28657ed

Please sign in to comment.