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))) |
復習用に保存
この項目をブックマークに追加したり、難しい内容としてマークしたり、復習セットに入れたりできます。
役に立ちましたか? はい いいえ
ユーザー評価で最も役立つ内容: