pub trait KernelBuilder<T> {
type Params;
// Required method
fn build<D>(shape: D) -> Result<Array3<T>, Error>
where D: Copy + IntoDimension<Dim = Ix3>;
// Provided method
fn build_with_params<D>(
shape: D,
_p: Self::Params,
) -> Result<Array3<T>, Error>
where D: Copy + IntoDimension<Dim = Ix3> { ... }
}Expand description
Builds a convolutioon kernel given a shape and optional parameters
Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".