pub struct ComputerVisionConfig {
pub n_superpixels: usize,
pub n_perturbations: usize,
pub gradcam_smoothing: Float,
pub saliency_resolution: (usize, usize),
pub detection_threshold: Float,
pub min_segment_size: usize,
pub noise_level: Float,
}Expand description
Configuration for computer vision interpretability methods
Fields§
§n_superpixels: usizeNumber of superpixels for LIME segmentation
n_perturbations: usizeNumber of perturbations for LIME
gradcam_smoothing: FloatSmoothing parameter for Grad-CAM
saliency_resolution: (usize, usize)Resolution for saliency maps
detection_threshold: FloatThreshold for object detection
min_segment_size: usizeMinimum segment size for segmentation
noise_level: FloatNoise level for perturbations
Trait Implementations§
Source§impl Clone for ComputerVisionConfig
impl Clone for ComputerVisionConfig
Source§fn clone(&self) -> ComputerVisionConfig
fn clone(&self) -> ComputerVisionConfig
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 ComputerVisionConfig
impl Debug for ComputerVisionConfig
Auto Trait Implementations§
impl Freeze for ComputerVisionConfig
impl RefUnwindSafe for ComputerVisionConfig
impl Send for ComputerVisionConfig
impl Sync for ComputerVisionConfig
impl Unpin for ComputerVisionConfig
impl UnwindSafe for ComputerVisionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more