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