text: // Licensed to the Apache Software Foundation (ASF) under one
  // or more contributor license agreements.  See the NOTICE file
  // distributed with this work for additional information
  // regarding copyright ownership.  The ASF licenses this file
  // to you under the Apache License, Version 2.0 (the
  // "License"); you may not use this file except in compliance
  // with the License.  You may obtain a copy of the License at
  //
  //   http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing,
  // software distributed under the License is distributed on an
  // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  // KIND, either express or implied.  See the License for the
  // specific language governing permissions and limitations
  // under the License.
  
  #ifndef PPLCUDA_KERNEL_INCLUDE_RESIZE_RESIZE_H_
  #define PPLCUDA_KERNEL_INCLUDE_RESIZE_RESIZE_H_
  #include "ppl/nn/common/tensor_shape.h"
  #include "ppl/common/retcode.h"
  #include <cuda_fp16.h>
  
  ppl::common::RetCode PPLCUDAResizeForwardImp(
      cudaStream_t stream,
      const ppl::nn::TensorShape* input_shape,
      const void* input,
      const ppl::nn::TensorShape* output_shape,
      void* outData,
      bool scale_pre_set,
      float h_scale,
      float w_scale,
      int transform_mode,
      int inter_mode,
      float cubic_coeff,
      float in_scale,
      float out_scale);
  
  #endif // PPLCUDA_KERNEL_INCLUDE_RESIZE_RESIZE_H_
  