Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tensorflow create custom initializer

init = tf.constant_initializer(YOUR_WEIGHT_MATRIX)
l1 = tf.layers.dense(X, o, kernel_initializer=init)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tensorflow #create #custom #initializer
ADD COMMENT
Topic
Name
9+8 =