MCPcopy Create free account
hub / github.com/alibaba/MNN / UnPackTo

Method UnPackTo

schema/current/CaffeOp_generated.h:4324–4344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4322}
4323
4324inline void Convolution2DCommon::UnPackTo(Convolution2DCommonT *_o, const flatbuffers::resolver_function_t *_resolver) const {
4325 (void)_o;
4326 (void)_resolver;
4327 { auto _e = padX(); _o->padX = _e; };
4328 { auto _e = padY(); _o->padY = _e; };
4329 { auto _e = kernelX(); _o->kernelX = _e; };
4330 { auto _e = kernelY(); _o->kernelY = _e; };
4331 { auto _e = strideX(); _o->strideX = _e; };
4332 { auto _e = strideY(); _o->strideY = _e; };
4333 { auto _e = dilateX(); _o->dilateX = _e; };
4334 { auto _e = dilateY(); _o->dilateY = _e; };
4335 { auto _e = padMode(); _o->padMode = _e; };
4336 { auto _e = group(); _o->group = _e; };
4337 { auto _e = outputCount(); _o->outputCount = _e; };
4338 { auto _e = inputCount(); _o->inputCount = _e; };
4339 { auto _e = relu(); _o->relu = _e; };
4340 { auto _e = relu6(); _o->relu6 = _e; };
4341 { auto _e = pads(); if (_e) { _o->pads.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->pads[_i] = _e->Get(_i); } } };
4342 { auto _e = outPads(); if (_e) { _o->outPads.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->outPads[_i] = _e->Get(_i); } } };
4343 { auto _e = hasOutputShape(); _o->hasOutputShape = _e; };
4344}
4345
4346inline flatbuffers::Offset<Convolution2DCommon> Convolution2DCommon::Pack(flatbuffers::FlatBufferBuilder &_fbb, const Convolution2DCommonT* _o, const flatbuffers::rehasher_function_t *_rehasher) {
4347 return CreateConvolution2DCommon(_fbb, _o, _rehasher);

Callers

nothing calls this directly

Calls 15

dilateXFunction · 0.85
dilateYFunction · 0.85
padModeFunction · 0.85
outputCountFunction · 0.85
inputCountFunction · 0.85
padsFunction · 0.85
outPadsFunction · 0.85
hasOutputShapeFunction · 0.85
dilatesFunction · 0.85
kernelsFunction · 0.85
argsFunction · 0.85
useInt32Function · 0.85

Tested by

no test coverage detected