We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5650c0 commit 6856a51Copy full SHA for 6856a51
torch_geometric/nn/conv/meshcnn_conv.py
@@ -463,7 +463,7 @@ def __assert_kernels(self, kernels: ModuleList):
463
correctly. Continuing..")
464
else:
465
input_dimension = getattr(network, "in_channels",
466
- getattr(network, "in_features"))
+ network.in_features)
467
assert input_dimension == self.in_channels, f"The input \
468
dimension of the neural network in kernel[{i}] must \
469
be \
@@ -481,7 +481,7 @@ def __assert_kernels(self, kernels: ModuleList):
481
482
483
output_dimension = getattr(network, "out_channels",
484
- getattr(network, "out_features"))
+ network.out_features)
485
assert output_dimension == self.out_channels, f"The output \
486
487
0 commit comments