📜  tensorflow 创建自定义初始化程序 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:21.157000             🧑  作者: Mango

代码示例1
init = tf.constant_initializer(YOUR_WEIGHT_MATRIX)
l1 = tf.layers.dense(X, o, kernel_initializer=init)