Struct gapi_grpc::google::cloud::aiplatform::v1beta1::SmoothGradConfig[][src]

pub struct SmoothGradConfig {
    pub noisy_sample_count: i32,
    pub gradient_noise_sigma: Option<GradientNoiseSigma>,
}

Config for SmoothGrad approximation of gradients.

When enabled, the gradients are approximated by averaging the gradients from noisy samples in the vicinity of the inputs. Adding noise can help improve the computed gradients. Refer to this paper for more details: https://arxiv.org/pdf/1706.03825.pdf

Fields

noisy_sample_count: i32

The number of gradient samples to use for approximation. The higher this number, the more accurate the gradient is, but the runtime complexity increases by this factor as well. Valid range of its value is [1, 50]. Defaults to 3.

gradient_noise_sigma: Option<GradientNoiseSigma>

Represents the standard deviation of the gaussian kernel that will be used to add noise to the interpolated inputs prior to computing gradients.

Trait Implementations

impl Clone for SmoothGradConfig[src]

impl Debug for SmoothGradConfig[src]

impl Default for SmoothGradConfig[src]

impl Message for SmoothGradConfig[src]

impl PartialEq<SmoothGradConfig> for SmoothGradConfig[src]

impl StructuralPartialEq for SmoothGradConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for SmoothGradConfig

impl Send for SmoothGradConfig

impl Sync for SmoothGradConfig

impl Unpin for SmoothGradConfig

impl UnwindSafe for SmoothGradConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]