Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 696571638
  • Loading branch information
Martin Huschenbett authored and tensorflower-gardener committed Nov 14, 2024
1 parent 93cd2be commit 2c817c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow_gnn/sampler/unsupported/sampling_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def random_weighted_fn(edge: Edge) -> float:

def is_deterministic(sampling_op: sampling_spec_pb2.SamplingOp) -> bool:
"""Returns `True` if sampling operation produces resample_for_each_path results."""
return _DETERMINISTIC_SAMPLING_STRATEGIES.get(sampling_op.strategy)
return _DETERMINISTIC_SAMPLING_STRATEGIES.get(sampling_op.strategy) # pytype: disable=bad-return-type


# Sampling frontier is a mapping from (sample id, node id) pair to the number
Expand Down

0 comments on commit 2c817c1

Please sign in to comment.