pub enum EpilogueKind {
None,
Bias,
BiasActivation(ActivationKind),
}Expand description
Optional fused epilogue tail attached to conv-fwd. The bias is
represented as an opaque marker on the spec layer (the graph
builder records “there is a bias of this dtype + shape”); the
concrete GpuRef<T> lives on ConvFwdRequest proper.
Variants§
None
No epilogue.
Bias
Add bias broadcast across spatial dims.
BiasActivation(ActivationKind)
Bias + activation.
Trait Implementations§
Source§impl Clone for EpilogueKind
impl Clone for EpilogueKind
Source§fn clone(&self) -> EpilogueKind
fn clone(&self) -> EpilogueKind
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 EpilogueKind
impl Debug for EpilogueKind
Source§impl PartialEq for EpilogueKind
impl PartialEq for EpilogueKind
impl Copy for EpilogueKind
impl Eq for EpilogueKind
impl StructuralPartialEq for EpilogueKind
Auto Trait Implementations§
impl Freeze for EpilogueKind
impl RefUnwindSafe for EpilogueKind
impl Send for EpilogueKind
impl Sync for EpilogueKind
impl Unpin for EpilogueKind
impl UnsafeUnpin for EpilogueKind
impl UnwindSafe for EpilogueKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more