MCPcopy Create free account
hub / github.com/alibaba/euler / __init__

Method __init__

tf_euler/python/utils/encoders.py:877–893  ·  view source on GitHub ↗
(self,
                 edge_type=[0],
                 feature_idx=-1,
                 feature_dim=0,
                 k=3,
                 hidden_dim=128,
                 nb_num=10,
                 out_dim=64,
                 **kwargs)

Source from the content-addressed store, hash-verified

875 (https://arxiv.org/pdf/1808.03965.pdf)
876 """
877 def __init__(self,
878 edge_type=[0],
879 feature_idx=-1,
880 feature_dim=0,
881 k=3,
882 hidden_dim=128,
883 nb_num=10,
884 out_dim=64,
885 **kwargs):
886 super(LGCEncoder, self).__init__(**kwargs)
887 self.edge_type = edge_type
888 self.feature_idx = feature_idx
889 self.feature_dim = feature_dim
890 self.k = k
891 self.hidden_dim = hidden_dim
892 self.out_dim = out_dim
893 self.nb_num = nb_num
894
895 def call(self, inputs):
896 batch_size = tf.shape(inputs)[0]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected