Skip to content

applications/src/kernels/maxpool.h

Functions

Name
void maxpool_fp64(double * ifmap, double * ofmap, uint32_t CI, uint32_t FH, uint32_t FW, uint32_t compute_num)
implementation of FP64 maxpooling

Functions Documentation

function maxpool_fp64

void maxpool_fp64(
    double * ifmap,
    double * ofmap,
    uint32_t CI,
    uint32_t FH,
    uint32_t FW,
    uint32_t compute_num
)

implementation of FP64 maxpooling

Parameters:

  • ifmap pointer to input feature map
  • ofmap pointer to output feature map
  • CI number of input channels
  • FH height of filter
  • FW width of filter
  • compute_num number of compute units

Source code

// Copyright 2020 ETH Zurich and University of Bologna.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0

#include "snrt.h"

void maxpool_fp64(double *ifmap, double *ofmap, uint32_t CI, uint32_t FH,
                  uint32_t FW, uint32_t compute_num);

Updated on 2023-06-19 at 09:43:56 +0000