[][src]Struct tensorflow_proto::xla::gpu::CudnnConvBackendConfig

pub struct CudnnConvBackendConfig {
    pub algorithm: i64,
    pub tensor_ops_enabled: bool,
    pub conv_result_scale: f64,
    pub activation_mode: i64,
    pub side_input_scale: f64,
}

Backend config for a convolution that runs through cudnn.

Fields

algorithm: i64

Opaque algorithm number of cudnn algorithm chosen for this conv.

tensor_ops_enabled: bool

Whether we may use tensor cores when running this conv. Even if this is true, cudnn may choose not to use tensor cores, e.g. because the GPU or selected algorithm doesn't support it.

conv_result_scale: f64

The scaling factor multiplied with the convolution result.

activation_mode: i64

The requested activation (e.g. relu) after the convolution. It is with type stream_executor::dnn::ActivationMode.

side_input_scale: f64

The scaling factor multiplied with the side input. If no side input buffer is provided, this field must be 0.

Trait Implementations

impl Clone for CudnnConvBackendConfig[src]

impl Debug for CudnnConvBackendConfig[src]

impl Default for CudnnConvBackendConfig[src]

impl Message for CudnnConvBackendConfig[src]

impl PartialEq<CudnnConvBackendConfig> for CudnnConvBackendConfig[src]

impl StructuralPartialEq for CudnnConvBackendConfig[src]

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<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.