#[repr(i32)]pub enum TacticSource {
kEDGE_MASK_CONVOLUTIONS = 0,
kJIT_CONVOLUTIONS = 1,
}Expand description
TacticSource
List of tactic sources for TensorRT.
See TacticSources, IBuilderConfig::setTacticSources(), IBuilderConfig::getTacticSources()
Variants§
kEDGE_MASK_CONVOLUTIONS = 0
Enables convolution tactics implemented with edge mask tables. These tactics tradeoff memory for performance by consuming additional memory space proportional to the input size. Enabled by default.
kJIT_CONVOLUTIONS = 1
Enables convolution tactics implemented with source-code JIT fusion. The engine building time may increase when this is enabled. Enabled by default.
Trait Implementations§
Source§impl Clone for TacticSource
impl Clone for TacticSource
Source§fn clone(&self) -> TacticSource
fn clone(&self) -> TacticSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ExternType for TacticSource
impl ExternType for TacticSource
Source§impl Hash for TacticSource
impl Hash for TacticSource
Source§impl PartialEq for TacticSource
impl PartialEq for TacticSource
Source§fn eq(&self, other: &TacticSource) -> bool
fn eq(&self, other: &TacticSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TacticSource
impl StructuralPartialEq for TacticSource
impl UniquePtrTarget for TacticSource
impl VectorElement for TacticSource
impl WeakPtrTarget for TacticSource
Auto Trait Implementations§
impl Freeze for TacticSource
impl RefUnwindSafe for TacticSource
impl Send for TacticSource
impl Sync for TacticSource
impl Unpin for TacticSource
impl UnsafeUnpin for TacticSource
impl UnwindSafe for TacticSource
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