File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 196196# Set `num_steps` in the main config file instead of num_epochs, because we are
197197# using a Python generator.
198198training_config .num_steps = 2
199+ training_config .eval_freq = 1
199200
200201# === Assign all configs to the root config ===
201202config .dataset = dataset_config
Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ def main(
8484 name = feature_name ,
8585 table = table_config ,
8686 # TODO: Verify whether it should be `(bsz, 1)` or
87- # `(bsz, feature_list_length)`.
88- input_shape = (per_host_batch_size , feature_list_length ),
89- output_shape = (per_host_batch_size , embedding_dim ),
87+ # `(bsz, feature_list_length)`. The original example uses 1.
88+ input_shape = (global_batch_size , 1 ),
89+ output_shape = (global_batch_size , embedding_dim ),
9090 )
9191
9292 # === Instantiate model ===
You can’t perform that action at this time.
0 commit comments