SoFunction
Updated on 2024-11-14

Tensorflow defines how to update the names of variables, functions, numerical calculations, etc.

Left is the old version, right is the name after updating to version 1.0

Updates to Defined Variables

 ——> tf.GLOBAL_VARIABLES
tf.all_variables ——> tf.global_variables
tf.initialize_all_variables ——> tf.global_variables_initializer
tf.initialize_local_variables ——> tf.local_variables_initializer
tf.initialize_variables ——> tf.variables_initializer

Updates to functions

tf.audio_summary ——> 
.histogram_summary ——>
.scalar_summary ——>
tf.histogram_summary ——> 
tf.image_summary ——>
tf.merge_all_summaries ——> .merge_all
tf.merge_summary ——> 
tf.scalar_summary ——> 
 ——> 

Updates to numerical calculation functions

 ——> 
 ——> 
 ——> 
 ——> 
 ——> 
tf.list_diff ——> tf.setdiff1d
 ——> tf.setdiff1d
 ——> 
 ——> 

Above this Tensorflow define variables, functions, numerical calculations and other names of the updated way is all that I have shared with you, I hope to give you a reference, and I hope you support me more.