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

Method call

tf_euler/python/utils/encoders.py:773–783  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

771 return tf.reduce_mean(inputs, axis=1)
772
773 def call(self, inputs):
774 samples = euler_ops.sample_fanout(
775 inputs, self.metapath, self.fanouts, default_node=0)[0]
776 hidden = [self.node_encoder(sample) for sample in samples]
777 hidden = self.layerwise_embed(hidden)
778 output = self.fm(hidden)
779
780 output_shape = inputs.shape.concatenate(self.dims[-1])
781 output_shape = [d if d is not None else -1
782 for d in output_shape.as_list()]
783 return tf.reshape(output, output_shape)
784
785 def layerwise_embed(self, hidden):
786 fanouts = [self.fanouts[0]]

Callers

nothing calls this directly

Calls 3

layerwise_embedMethod · 0.95
fmMethod · 0.95
node_encoderMethod · 0.45

Tested by

no test coverage detected