| 3147 | }; |
| 3148 | |
| 3149 | inline flatbuffers::Offset<Pool2DOptions> CreatePool2DOptions( |
| 3150 | flatbuffers::FlatBufferBuilder &_fbb, |
| 3151 | Padding padding = Padding_SAME, |
| 3152 | int32_t stride_w = 0, |
| 3153 | int32_t stride_h = 0, |
| 3154 | int32_t filter_width = 0, |
| 3155 | int32_t filter_height = 0, |
| 3156 | ActivationFunctionType fused_activation_function = ActivationFunctionType_NONE) { |
| 3157 | Pool2DOptionsBuilder builder_(_fbb); |
| 3158 | builder_.add_filter_height(filter_height); |
| 3159 | builder_.add_filter_width(filter_width); |
| 3160 | builder_.add_stride_h(stride_h); |
| 3161 | builder_.add_stride_w(stride_w); |
| 3162 | builder_.add_fused_activation_function(fused_activation_function); |
| 3163 | builder_.add_padding(padding); |
| 3164 | return builder_.Finish(); |
| 3165 | } |
| 3166 | |
| 3167 | flatbuffers::Offset<Pool2DOptions> CreatePool2DOptions(flatbuffers::FlatBufferBuilder &_fbb, const Pool2DOptionsT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr); |
| 3168 | |