pub struct EngineConfig {
pub max_concurrent_tasks: usize,
pub task_timeout: Duration,
pub enable_esp_support: bool,
pub auto_optimize_tensors: bool,
}Expand description
Configuration for the AI3 engine.
Fields§
§max_concurrent_tasks: usizeMaximum concurrent tasks.
task_timeout: DurationPer-task timeout.
enable_esp_support: boolWhether to enable ESP-sized tensor clamping.
auto_optimize_tensors: boolWhether to auto-optimize tensor dimensions.
Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
fn clone(&self) -> EngineConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EngineConfig
impl Debug for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more