Skip to content

Commit df3844e

Browse files
committed
set intx=int32
1 parent 3ba050e commit df3844e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

graphgallery/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
astensors)
77

88
from graphgallery.utils.data_utils import normalize_adj, normalize_x, Bunch, sample_mask
9-
from graphgallery.config import set_epsilon, set_floatx, set_intx, floatx, intx
9+
from graphgallery.config import set_epsilon, set_floatx, set_intx, epsilon, floatx, intx
1010
from graphgallery.utils.tensor_utils import normalize_adj_tensor, normalize_edge_tensor
1111
from graphgallery.utils.shape_utils import repeat
1212
from graphgallery.utils.type_check import *

graphgallery/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
epsilon = K.epsilon
1111
set_epsilon = K.set_epsilon
1212

13-
_INTX = 'int64'
13+
_INTX = 'int32'
1414

1515
def intx():
1616
"""Returns the default integer type, as a string.

graphgallery/nn/models/semisupervised/experimental/s_obvat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def preprocess(self, adj, x):
7777
with tf.device(self.device):
7878
self.x_norm, self.adj_norm = astensors([x, adj])
7979

80-
def build(self, hiddens=[16], activations=['relu'], dropouts=[0.5],
80+
def build(self, hiddens=[16], activations=['relu'], dropouts=[0.],
8181
lr=0.01, l2_norms=[5e-4], p1=1.4, p2=0.7, use_bias=False,
8282
epsilon=0.01):
8383

0 commit comments

Comments
 (0)