AdaptiveMaxPool2D
public struct AdaptiveMaxPool2D<Element, Device> : LayerType, Codable where Element : NumericType, Device : DeviceTypeA 2D adaptive max pooling layer that pools its inputs with an automatically computed stride and window size to reach the desired output size
- 
                  
                  DeclarationSwift public var parameterPaths: [WritableKeyPath<`Self`, Tensor<Element, Device>>] { get }
- 
                  
                  DeclarationSwift public var parameters: [Tensor<Element, Device>] { get }
- 
                  
                  Width and height of the output tensor DeclarationSwift public let targetSize: Int
- 
                  
                  A 2D adaptive max pooling layer that pools its inputs with an automatically computed stride and window size to reach the desired output size DeclarationSwift public init(targetSize: Int)ParameterstargetSizeWidth and height of the output tensor 
 View on GitHub
            View on GitHub
           AdaptiveMaxPool2D Structure Reference
      AdaptiveMaxPool2D Structure Reference