chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from .math import segment_max, segment_mean, segment_min, segment_sum
|
||||
from .message_passing import send_u_recv, send_ue_recv, send_uv
|
||||
from .reindex import reindex_graph, reindex_heter_graph
|
||||
from .sampling import sample_neighbors, weighted_sample_neighbors
|
||||
|
||||
__all__ = [
|
||||
'send_u_recv',
|
||||
'send_ue_recv',
|
||||
'send_uv',
|
||||
'segment_sum',
|
||||
'segment_mean',
|
||||
'segment_min',
|
||||
'segment_max',
|
||||
'reindex_graph',
|
||||
'reindex_heter_graph',
|
||||
'sample_neighbors',
|
||||
'weighted_sample_neighbors',
|
||||
]
|
||||
Reference in New Issue
Block a user