FFmpeg
Variables
tf_sess_config Namespace Reference

Variables

string visible_device_list = '0'
 
float per_process_gpu_memory_fraction = 0.9
 
int intra_op_parallelism_threads = 2
 
int inter_op_parallelism_threads = 5
 
 gpu_options
 
 config
 
 s = config.SerializeToString()
 
string b = ''.join(format(b,'02x') for b in s)
 

Variable Documentation

◆ visible_device_list

string tf_sess_config.visible_device_list = '0'

Definition at line 23 of file tf_sess_config.py.

◆ per_process_gpu_memory_fraction

float tf_sess_config.per_process_gpu_memory_fraction = 0.9

Definition at line 24 of file tf_sess_config.py.

◆ intra_op_parallelism_threads

int tf_sess_config.intra_op_parallelism_threads = 2

Definition at line 25 of file tf_sess_config.py.

◆ inter_op_parallelism_threads

int tf_sess_config.inter_op_parallelism_threads = 5

Definition at line 26 of file tf_sess_config.py.

◆ gpu_options

tf_sess_config.gpu_options
Initial value:
1 = tf.compat.v1.GPUOptions(
2  per_process_gpu_memory_fraction = per_process_gpu_memory_fraction,
3  visible_device_list = visible_device_list,
4  allow_growth = True)

Definition at line 28 of file tf_sess_config.py.

◆ config

tf_sess_config.config

◆ s

tf_sess_config.s = config.SerializeToString()

Definition at line 40 of file tf_sess_config.py.

◆ b

string tf_sess_config.b = ''.join(format(b,'02x') for b in s)

Definition at line 44 of file tf_sess_config.py.