11六、TensorFlow变量的版本

import tensorflow as tf v = tf.get_variable("v", shape=(), initializer=tf.zeros_initializer()) assignment = v.assign_add(1) # Because variables are mutable # it's sometimes useful to know what versio
相关文章
相关标签/搜索