Skip to content

Commit 6856a51

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f5650c0 commit 6856a51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch_geometric/nn/conv/meshcnn_conv.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def __assert_kernels(self, kernels: ModuleList):
463463
correctly. Continuing..")
464464
else:
465465
input_dimension = getattr(network, "in_channels",
466-
getattr(network, "in_features"))
466+
network.in_features)
467467
assert input_dimension == self.in_channels, f"The input \
468468
dimension of the neural network in kernel[{i}] must \
469469
be \
@@ -481,7 +481,7 @@ def __assert_kernels(self, kernels: ModuleList):
481481
correctly. Continuing..")
482482
else:
483483
output_dimension = getattr(network, "out_channels",
484-
getattr(network, "out_features"))
484+
network.out_features)
485485
assert output_dimension == self.out_channels, f"The output \
486486
dimension of the neural network in kernel[{i}] must \
487487
be \

0 commit comments

Comments
 (0)