Unverified Commit d2f192f8 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

[Misc] Add not-implemented error for api. (#6073)


Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
parent 1e5fb155
...@@ -93,6 +93,7 @@ class NegativeSampler(Mapper): ...@@ -93,6 +93,7 @@ class NegativeSampler(Mapper):
Tuple[Tensor] Tuple[Tensor]
A collection of negative node pairs. A collection of negative node pairs.
""" """
raise NotImplementedError
def _collate(self, pos_pairs, neg_pairs): def _collate(self, pos_pairs, neg_pairs):
"""Collates positive and negative samples. """Collates positive and negative samples.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment