Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



This source code is dedicated to define and initialize variables. The source code belongs to the Introduction to TensorFlow Variables: Creation, Initialization psot.

How to run the code in Terminal?

Please root to the code/ directory and run the python script as the general form of below:

python []

As an example the code can be executed as follows:


How to run the code in IDEs?

Since the code is ready-to-go, as long as the TensorFlow can be called in the IDE editor(Pycharm, Spyder,..), the code can be executed successfully.

You can’t perform that action at this time.