Skip to content

Commit 92f24db

Browse files
authored
Removed has_bias references from tests and examples (#356)
1 parent 9f81ae6 commit 92f24db

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class ExampleNetwork(ME.MinkowskiNetwork):
211211
kernel_size=3,
212212
stride=2,
213213
dilation=1,
214-
has_bias=False,
214+
bias=False,
215215
dimension=D),
216216
ME.MinkowskiBatchNorm(64),
217217
ME.MinkowskiReLU())

docs/benchmark.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ conv = ME.MinkowskiConvolution(
1919
kernel_size=7,
2020
stride=1,
2121
dilation=1,
22-
has_bias=False,
22+
bias=False,
2323
dimension=3)
2424
```
2525

@@ -53,23 +53,23 @@ net = nn.Sequential(
5353
kernel_size=5,
5454
stride=1,
5555
dilation=1,
56-
has_bias=False,
56+
bias=False,
5757
dimension=3),
5858
ME.MinkowskiConvolution(
5959
in_channels=32,
6060
out_channels=32,
6161
kernel_size=2,
6262
stride=2,
6363
dilation=1,
64-
has_bias=False,
64+
bias=False,
6565
dimension=3),
6666
ME.MinkowskiConvolutionTranspose
6767
in_channels=32,
6868
out_channels=32,
6969
kernel_size=2,
7070
stride=2,
7171
dilation=1,
72-
has_bias=False,
72+
bias=False,
7373
dimension=3))
7474
```
7575

examples/convolution.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def conv():
5656
out_channels,
5757
kernel_size=3,
5858
stride=2,
59-
has_bias=False,
59+
bias=False,
6060
dimension=D)
6161

6262
output = conv(input)
@@ -79,7 +79,7 @@ def conv():
7979
out_channels,
8080
kernel_size=3,
8181
stride=2,
82-
has_bias=False,
82+
bias=False,
8383
dimension=D)
8484
output = conv_tr(input)
8585

@@ -109,7 +109,7 @@ def conv_on_coords():
109109
out_channels,
110110
kernel_size=3,
111111
stride=2,
112-
has_bias=False,
112+
bias=False,
113113
dimension=D)
114114

115115
pool_tr = ME.MinkowskiPoolingTranspose(

tests/python/chwise_conv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test(self):
6161
in_channels,
6262
kernel_size=3,
6363
stride=1,
64-
has_bias=False,
64+
bias=False,
6565
dimension=D).double()
6666

6767
print('Initial input: ', input)
@@ -90,7 +90,7 @@ def test_gpu(self):
9090
in_channels,
9191
kernel_size=3,
9292
stride=1,
93-
has_bias=False,
93+
bias=False,
9494
dimension=D).double().to(device)
9595

9696
print('Initial input: ', input)

tests/python/conv_on_coords.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test(self):
6565
out_channels,
6666
kernel_size=3,
6767
stride=1,
68-
has_bias=False,
68+
bias=False,
6969
dimension=D).double()
7070

7171
print('Initial input: ', input)
@@ -103,7 +103,7 @@ def test_tr(self):
103103
out_channels,
104104
kernel_size=3,
105105
stride=2,
106-
has_bias=False,
106+
bias=False,
107107
dimension=D).double()
108108
print('Initial input: ', input)
109109
print('Specified output coords: ', out_coords)

0 commit comments

Comments
 (0)