-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Description
TypeError: in converted code:
/home/jupyter-tide1994/tide/embedding/GraphNeuralNetwork-master/gnn/gcn.py:73 call *
TypeError: Input 'pred' of 'Switch' Op has type float32 that does not match expected type of bool.
def call(self, inputs, training=None, **kwargs):
features, A = inputs
features = self.dropout(features, training=training)
output = tf.matmul(tf.sparse_tensor_dense_matmul(A, features), self.kernel)
if self.bias:
output += self.bias
act = self.activation(output)
act._uses_learning_phase = features._uses_learning_phase
return act
Metadata
Metadata
Assignees
Labels
No labels