Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/MorvanZhou/tutorials
/ weight_variable
Function
weight_variable
tensorflowTUT/tf18_CNN3/full_code.py:23–25 ·
view source on GitHub ↗
(shape)
Source
from the content-addressed store, hash-verified
21
return
result
22
23
def
weight_variable(shape):
24
initial = tf.truncated_normal(shape, stddev=0.1)
25
return
tf.Variable(initial)
26
27
def
bias_variable(shape):
28
initial = tf.constant(0.1, shape=shape)
Callers
1
full_code.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected