<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=TensorFlow%3A_Variables</id>
	<title>TensorFlow: Variables - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=TensorFlow%3A_Variables"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=TensorFlow:_Variables&amp;action=history"/>
	<updated>2026-04-17T14:28:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=TensorFlow:_Variables&amp;diff=56523&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot;   import tensorflow as tf  value = tf.Variable(0, name=&quot;value&quot;)   one = tf.constant(1)  new_value = tf.add(value, one)  update_value = tf.assign(value, new_value)  initialize...&quot;</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=TensorFlow:_Variables&amp;diff=56523&amp;oldid=prev"/>
		<updated>2019-07-29T10:38:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;   import tensorflow as tf  value = tf.Variable(0, name=&amp;quot;value&amp;quot;)   one = tf.constant(1)  new_value = tf.add(value, one)  update_value = tf.assign(value, new_value)  initialize...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
 import tensorflow as tf&lt;br /&gt;
 value = tf.Variable(0, name=&amp;quot;value&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 one = tf.constant(1)&lt;br /&gt;
 new_value = tf.add(value, one)&lt;br /&gt;
 update_value = tf.assign(value, new_value)&lt;br /&gt;
 initialize_var = tf.global_variables_initializer()&lt;br /&gt;
&lt;br /&gt;
 with tf.Session() as sess:&lt;br /&gt;
    sess.run(initialize_var)&lt;br /&gt;
    print(sess.run(value))&lt;br /&gt;
    for _ in range(5):&lt;br /&gt;
       sess.run(update_value)&lt;br /&gt;
       print(sess.run(value))&lt;br /&gt;
&lt;br /&gt;
 sess.close()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Pranala Menarik==&lt;br /&gt;
&lt;br /&gt;
* [[TensorFlow]]&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>