#[repr(i32)]pub enum PreviewFeature {
kPROFILE_SHARING_0806 = 0,
kALIASED_PLUGIN_IO_10_03 = 1,
kRUNTIME_ACTIVATION_RESIZE_10_10 = 2,
}Expand description
! ! \enum PreviewFeature ! ! \brief Define preview features ! ! Preview Features have been fully tested but are not yet as stable as other features in TensorRT. ! They are provided as opt-in features for at least one release. !
Variants§
kPROFILE_SHARING_0806 = 0
! ! Allows optimization profiles to be shared across execution contexts. ! ! \deprecated Deprecated in TensorRT 10.0. The default value for this flag is on and can not be changed. !
kALIASED_PLUGIN_IO_10_03 = 1
! ! Allows plugin I/O to be aliased when using IPluginV3OneBuildV2 !
kRUNTIME_ACTIVATION_RESIZE_10_10 = 2
! ! Allows IExecutionContext::updateDeviceMemorySizeForShapes to resize runner internal activation memory. ! Using this feature can reduce runtime memory requirement when the actual input tensor shapes are smaller than ! the maximum input tensor dimensions. !
Trait Implementations§
Source§impl Clone for PreviewFeature
impl Clone for PreviewFeature
Source§fn clone(&self) -> PreviewFeature
fn clone(&self) -> PreviewFeature
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 ExternType for PreviewFeature
impl ExternType for PreviewFeature
Source§impl Hash for PreviewFeature
impl Hash for PreviewFeature
Source§impl PartialEq for PreviewFeature
impl PartialEq for PreviewFeature
impl Eq for PreviewFeature
impl StructuralPartialEq for PreviewFeature
impl UniquePtrTarget for PreviewFeature
impl VectorElement for PreviewFeature
impl WeakPtrTarget for PreviewFeature
Auto Trait Implementations§
impl Freeze for PreviewFeature
impl RefUnwindSafe for PreviewFeature
impl Send for PreviewFeature
impl Sync for PreviewFeature
impl Unpin for PreviewFeature
impl UnwindSafe for PreviewFeature
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