Module SessionMode

Source

Constants§

Session_Backend_Auto
Determine the Execution’s forward type is determine by user or auto determine
Session_Backend_Fix
Determine the Execution’s forward type is determine by user or auto determine
Session_Codegen_Disable
Determine whether use codegen function
Session_Codegen_Enable
Determine whether use codegen function
Session_Debug
About CallBack, Default Session_Debug*/ /** runSessionWithCallBack is allowed and can get internal op info
Session_Input_Inside
About input tenosr, Default Session_Input_Inside*/ /** The input tensor is alloced by session, input data after session resized
Session_Input_User
The input tensor is alloced by user, set input data before session resize
Session_Memory_Cache
Determine static memory whether recyle in resizeSession or just cache the memory
Session_Memory_Collect
Determine static memory whether recyle in resizeSession or just cache the memory
Session_Output_Inside
The output tensor depends on session, and can’t be separate used
Session_Output_User
The output tensor can be separated from session
Session_Release
runSessionWithCallBack is not valid and can’t get any info of op in session
Session_Resize_Check
Dynamic Reisze Optimization
Session_Resize_Defer
Try Resize Session when create Session or not, default direct:
Session_Resize_Direct
Try Resize Session when create Session or not, default direct:
Session_Resize_Fix
Dynamic Reisze Optimization

Type Aliases§

Type