MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CreatePool2DOptions

Function CreatePool2DOptions

tensorflow/lite/schema/schema_generated.h:3149–3165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3147};
3148
3149inline 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
3167flatbuffers::Offset<Pool2DOptions> CreatePool2DOptions(flatbuffers::FlatBufferBuilder &_fbb, const Pool2DOptionsT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
3168

Callers 6

FloatPoolingOpModelMethod · 0.85
BasePoolingOpModelMethod · 0.85
PackMethod · 0.85
WriteOptionsMethod · 0.85
WriteOptionsMethod · 0.85
WriteOptionsMethod · 0.85

Calls 7

add_filter_heightMethod · 0.80
add_filter_widthMethod · 0.80
add_stride_hMethod · 0.45
add_stride_wMethod · 0.45
add_paddingMethod · 0.45
FinishMethod · 0.45

Tested by 2

FloatPoolingOpModelMethod · 0.68
BasePoolingOpModelMethod · 0.68