Struct burn_tensor::ops::MaxPool1dWithIndices
source · pub struct MaxPool1dWithIndices<B: Backend> {
pub output: B::TensorPrimitive<3>,
pub indices: B::IntTensorPrimitive<3>,
}Expand description
Results from max_pool1d.
Fields§
§output: B::TensorPrimitive<3>The output tensor.
indices: B::IntTensorPrimitive<3>The indices tensor.
Implementations§
source§impl<B: Backend> MaxPool1dWithIndices<B>
impl<B: Backend> MaxPool1dWithIndices<B>
sourcepub fn new(
output: B::TensorPrimitive<3>,
indices: B::IntTensorPrimitive<3>
) -> Self
pub fn new( output: B::TensorPrimitive<3>, indices: B::IntTensorPrimitive<3> ) -> Self
Constructs a new MaxPool1dWithIndices.
Auto Trait Implementations§
impl<B> RefUnwindSafe for MaxPool1dWithIndices<B>where <B as Backend>::IntTensorPrimitive<3>: RefUnwindSafe, <B as Backend>::TensorPrimitive<3>: RefUnwindSafe,
impl<B> Send for MaxPool1dWithIndices<B>
impl<B> Sync for MaxPool1dWithIndices<B>
impl<B> Unpin for MaxPool1dWithIndices<B>where <B as Backend>::IntTensorPrimitive<3>: Unpin, <B as Backend>::TensorPrimitive<3>: Unpin,
impl<B> UnwindSafe for MaxPool1dWithIndices<B>where <B as Backend>::IntTensorPrimitive<3>: UnwindSafe, <B as Backend>::TensorPrimitive<3>: 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