Struct burn_tensor::ops::Conv3dBackward
source · pub struct Conv3dBackward<B: Backend> {
pub x_grad: FloatTensor<B, 5>,
pub weights_grad: FloatTensor<B, 5>,
pub bias_grad: Option<FloatTensor<B, 1>>,
}
Expand description
Gradient computed during the backward pass for each tensor used by conv3d.
Fields§
§x_grad: FloatTensor<B, 5>
Gradient.
weights_grad: FloatTensor<B, 5>
Weights gradient.
bias_grad: Option<FloatTensor<B, 1>>
Bias gradient.
Implementations§
source§impl<B: Backend> Conv3dBackward<B>
impl<B: Backend> Conv3dBackward<B>
sourcepub fn new(
x_grad: FloatTensor<B, 5>,
weights_grad: FloatTensor<B, 5>,
bias_grad: Option<FloatTensor<B, 1>>,
) -> Self
pub fn new( x_grad: FloatTensor<B, 5>, weights_grad: FloatTensor<B, 5>, bias_grad: Option<FloatTensor<B, 1>>, ) -> Self
Constructs a new Conv3dBackward
.
Auto Trait Implementations§
impl<B> Freeze for Conv3dBackward<B>where
<B as Backend>::FloatTensorPrimitive<5>: Freeze,
<B as Backend>::FloatTensorPrimitive<1>: Freeze,
impl<B> RefUnwindSafe for Conv3dBackward<B>where
<B as Backend>::FloatTensorPrimitive<5>: RefUnwindSafe,
<B as Backend>::FloatTensorPrimitive<1>: RefUnwindSafe,
impl<B> Send for Conv3dBackward<B>
impl<B> Sync for Conv3dBackward<B>
impl<B> Unpin for Conv3dBackward<B>where
<B as Backend>::FloatTensorPrimitive<5>: Unpin,
<B as Backend>::FloatTensorPrimitive<1>: Unpin,
impl<B> UnwindSafe for Conv3dBackward<B>where
<B as Backend>::FloatTensorPrimitive<5>: UnwindSafe,
<B as Backend>::FloatTensorPrimitive<1>: UnwindSafe,
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