Skip to content

Commit

Permalink
Let hparams_vizier.add_params_mt_albis() use max_no_inf, not max.
Browse files Browse the repository at this point in the history
They only differ for the case of zero incoming edges, in which case
the "no inf" version returns all-zeros (like mean does).

PiperOrigin-RevId: 673244614
  • Loading branch information
arnoegw authored and tensorflower-gardener committed Sep 11, 2024
1 parent 364a4ac commit bcb74be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow_gnn/models/mt_albis/hparams_vizier.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def add_params_mt_albis(
prefix + "attention_type", ["none"])
root.add_categorical_param(
prefix + "simple_conv_reduce_type",
["mean", "mean|sum", "mean|max", "mean|sum|max"],
["mean", "mean|sum", "mean|max_no_inf", "mean|sum|max_no_inf"],
default_value="mean|sum")
else:
root.add_categorical_param(
Expand Down

0 comments on commit bcb74be

Please sign in to comment.