Compute Library
 22.05
tensorflow_data_extractor.py File Reference

Basic script to export weights from TensorFlow to npy files. More...

Go to the source code of this file.

Namespaces

 tensorflow_data_extractor
 

Variables

 parser = argparse.ArgumentParser('Extract Tensorflow net parameters')
 
 dest
 
 type
 
 str
 
 required
 
 True
 
 help
 
 args = parser.parse_args()
 
 saver = tf.train.import_meta_graph(args.netFile)
 
 varname = t.name
 

Detailed Description

Basic script to export weights from TensorFlow to npy files.

Definition in file tensorflow_data_extractor.py.