[][src]Struct ocl_convolution::ConvolutionBuilder

pub struct ConvolutionBuilder<T> { /* fields omitted */ }

Convolution builder. The same builder can be used to create multiple Convolutions which share the same spatial size.

Methods

impl ConvolutionBuilder<f32>[src]

pub fn build(&self, params: Params) -> Result<Convolution<f32>>[src]

Creates a new floating-point convolution.

impl ConvolutionBuilder<i8>[src]

pub fn build(&self, params: I8Params) -> Result<Convolution<i8>>[src]

Creates a new quantized convolution.

Trait Implementations

impl<T: Debug> Debug for ConvolutionBuilder<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ConvolutionBuilder<T> where
    T: RefUnwindSafe

impl<T> Send for ConvolutionBuilder<T> where
    T: Send

impl<T> Sync for ConvolutionBuilder<T> where
    T: Sync

impl<T> Unpin for ConvolutionBuilder<T> where
    T: Unpin

impl<T> UnwindSafe for ConvolutionBuilder<T> where
    T: UnwindSafe

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, 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.