SPP

Input

x:
  • Required: yes
  • Type: float16, float32
  • Description: pools the features and generates fixed-length outputs (1 x 1, 2 x 2, 4 x 4, and so on).
  • Restriction: Must be of type float16 and H and W < 510.

Attribute

  • pyramid_height:
    • Required: yes
    • Type: int
    • Description: pyramid height. The value range is [1, 7). The calculated kernel_size and Pad_size must meet the Caffe pooling restriction: pad_size < kernel_size.
    • Restriction: Must be in the range [1, 7).
  • pool_method:
    • Required: no
    • Type: int
    • Description:
      • 0 (default): max pooling
      • 1: avg pooling
    • Restriction: either 0 or 1

Output

  • y:
    • Required: yes
    • Type: float16, float32
    • Description: pools the features and generates fixed-length outputs (1 x 1, 2 x 2, 4 x 4, and so on).
    • Restriction: Must be of type float16.