Struct burn_tensor::ops::MaxPool2dWithIndexes
source · pub struct MaxPool2dWithIndexes<B: Backend> {
pub output: B::TensorPrimitive<4>,
pub indexes: B::IntTensorPrimitive<4>,
}Expand description
Results from max_pool2d.
Fields§
§output: B::TensorPrimitive<4>§indexes: B::IntTensorPrimitive<4>Implementations§
source§impl<B: Backend> MaxPool2dWithIndexes<B>
impl<B: Backend> MaxPool2dWithIndexes<B>
sourcepub fn new(
output: B::TensorPrimitive<4>,
indexes: B::IntTensorPrimitive<4>
) -> Self
pub fn new( output: B::TensorPrimitive<4>, indexes: B::IntTensorPrimitive<4> ) -> Self
Constructs a new MaxPool2dWithIndexes.