MCPcopy Create free account
hub / github.com/alibaba/GraphScope / check_params

Method check_params

python/graphscope/learning/gl_torch_graph.py:157–163  ·  view source on GitHub ↗
(schema, config)

Source from the content-addressed store, hash-verified

155
156 @staticmethod
157 def check_params(schema, config):
158 GLTorchGraph.check_edges(schema, config.get("edges"))
159 GLTorchGraph.check_node_features(schema, config.get("node_features"))
160 GLTorchGraph.check_edge_features(schema, config.get("edge_features"))
161 GLTorchGraph.check_node_labels(schema, config.get("node_labels"))
162 GLTorchGraph.check_random_node_split(config.get("random_node_split"))
163 GLTorchGraph.check_edge_weights(schema, config.get("edge_weights"))
164
165 @staticmethod
166 def transform_config(config):

Callers 1

graphlearn_torchMethod · 0.80

Calls 7

check_edgesMethod · 0.80
check_node_featuresMethod · 0.80
check_edge_featuresMethod · 0.80
check_node_labelsMethod · 0.80
check_edge_weightsMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected