File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99from torchsparse .nn import functional as F
1010from torchsparse .utils import make_ntuple
1111
12- from test_utils import *
12+ from . test_utils import *
1313
1414__all__ = ["test_single_layer_convolution_forward" ]
1515
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ def test_single_layer(self):
2525 count += 1
2626
2727 # switch to hashmap_on_the_fly
28- config = F .get_default_conv_config ()
28+ config = F .conv_config . get_default_conv_config ()
2929 config .kmap_mode = "hashmap_on_the_fly"
30- F .set_global_conv_config (config )
30+ F .conv_config . set_global_conv_config (config )
3131 for kernel_size in kernel_sizes :
3232 for stride in strides :
3333 mean_adiff , max_rdiff = test_single_layer_convolution_forward (
You can’t perform that action at this time.
0 commit comments