Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/MorvanZhou/tutorials
/ _bias_variable
Method
_bias_variable
tensorflowTUT/tf22_scope/tf22_RNN_scope.py:93–95 ·
view source on GitHub ↗
(shape, name='biases')
Source
from the content-addressed store, hash-verified
91
92
@staticmethod
93
def
_bias_variable(shape, name=
'biases'
):
94
initializer = tf.constant_initializer(0.1)
95
return
tf.get_variable(name=name, shape=shape, initializer=initializer)
96
97
98
if
__name__ ==
'__main__'
:
Callers
1
_built_RNN
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected