TensorFlow 面试题与答案
Question: What is a TensorFlow variable and how is it different from a constant?Answer: A TensorFlow variable is a mutable tensor that can be modified during program execution. Unlike constants, their values can be changed using operations like assign.Example: weight = tf.Variable(initial_value=tf.random_normal(shape=(input_size, output_size))) |
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
这有帮助吗? 是 否
用户评价最有帮助的内容: