(self, inputs)
| 533 | return tf.reshape(hidden[0], output_shape) |
| 534 | |
| 535 | def call(self, inputs): |
| 536 | samples = euler_ops.sample_fanout( |
| 537 | inputs, self.metapath, self.fanouts, |
| 538 | default_node=self._max_id + 1)[0] |
| 539 | h = self.agg(inputs, samples, False) |
| 540 | h_neg = self.agg(inputs, samples, True) |
| 541 | return [h, h_neg] |
| 542 | |
| 543 | |
| 544 | class SageEncoderNew(SageEncoder): |