conv_bias.h 916 字节
Newer Older
1 2 3 4
/**
 * \file dnn/src/common/conv_bias.h
 * MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
 *
5
 * Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
6 7 8 9 10 11 12 13 14
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 */

#include "megdnn/handle.h"
#include "megdnn/opr_param_defs.h"
#include "megdnn/oprs/general.h"
15
#include "megdnn/oprs/nn.h"
16 17 18 19 20 21
#include "megdnn/oprs/nn_int.h"
#include "src/common/utils.h"

namespace megdnn {

void handle_bias_and_nonlinear(Handle* handle, param::ConvBias args,
22 23 24
                               const TensorND* conv_dst_tensor,
                               const TensorND* dst_tensor,
                               const TensorND* bias_tensor);
25

26 27 28
}  // namespace megdnn

// vim: syntax=cpp.doxygen