Skip to content

Tensorflow_documentation.md - #292

Open
Graviton28 wants to merge 2 commits into
UNM-CARC:masterfrom
Graviton28:pr/tensorflow-doc-tf2
Open

Tensorflow_documentation.md#292
Graviton28 wants to merge 2 commits into
UNM-CARC:masterfrom
Graviton28:pr/tensorflow-doc-tf2

Conversation

@Graviton28

Copy link
Copy Markdown
Contributor

found this one still had TF1.x code in it - tf.Session(), tf.placeholder/feed_dict, tf.initialize_all_variables(), tf.InteractiveSession(). all of that's gone/deprecated in TF2 so none of it actually ran. rewrote the examples to TF2 eager execution and tested every single snippet end to end in a conda env on easley (no shared tensorflow module, so built a temp tf_retest conda-forge env with tensorflow-cpu to test against, then tore it down after).

also found a couple real bugs while testing:

  • np.reshape(b,(1,3)) on a (2,2) array throws a ValueError, 4 elements don't fit into shape (1,3). fixed to (1,4).
  • the tf.constant(9999999) * tf.constant(111111111) example silently overflows int32 and gives a wrong negative number. fixed by making both constants int64.

dropped the old benchmark section (Xena/K40 hardware, dead image links pointing to someone's personal github repo) since the "Tensorflow with multiple GPUs" quickbyte already has fresh tested Easley benchmarks - just linked to that instead of duplicating stale broken content here.

fixed typos: "Comparision"->"Comparison", "enviroment"->"environment", "corresonds"->"corresponds", "exectute"->"execute", missing space before "Tensorflow" in one spot.

@Graviton28
Graviton28 marked this pull request as ready for review August 4, 2026 04:53
@Graviton28
Graviton28 requested a review from gmfricke as a code owner August 4, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant