MCPcopy
hub / github.com/tkipf/gcn / zeros

Function zeros

gcn/inits.py:18–21  ·  view source on GitHub ↗

All zeros.

(shape, name=None)

Source from the content-addressed store, hash-verified

16
17
18def zeros(shape, name=None):
19 """All zeros."""
20 initial = tf.zeros(shape, dtype=tf.float32)
21 return tf.Variable(initial, name=name)
22
23
24def ones(shape, name=None):

Callers 2

__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected