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
Initial value:
1 = tf.compat.v1.ConfigProto(
2  allow_soft_placement = True,
3  log_device_placement = False,
4  intra_op_parallelism_threads = intra_op_parallelism_threads,
5  inter_op_parallelism_threads = inter_op_parallelism_threads,
6  gpu_options = gpu_options)
Examples
hw_decode.c.

Definition at line 33 of file tf_sess_config.py.

Referenced by alloc_buffer(), avcodec_default_get_format(), celt_search_for_tf(), dshow_cycle_formats(), dshow_get_default_format(), dshow_set_audio_buffer_size(), ff_get_format(), get_format(), get_silk_samplerate(), hw_device_match_by_codec(), hw_device_setup_for_decode(), hw_device_setup_for_encode(), init_model_ov(), kperf_init(), load_tf_model(), main(), omx_encode_frame(), parse_dsd_prop(), parse_fmtp_config(), print_codec(), and vaapi_frames_get_constraints().

◆ 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.