test / models /qs8-qc8w-mobilenet-v2.cc
Androidonnxfork's picture
Upload folder using huggingface_hub
8b7c501
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <xnnpack.h>
#include <array>
#include <algorithm>
#include <functional>
#include <iostream>
#include <limits>
#include <random>
#include <xnnpack/cache.h>
#include <xnnpack/common.h>
#include <xnnpack/models.h>
namespace models {
ExecutionPlan QC8MobileNetV2(pthreadpool_t threadpool) {
alignas(16) static std::array<int8_t, 150528 + XNN_EXTRA_BYTES / sizeof(int8_t)> v0;
alignas(16) static std::array<int8_t, 401408 + XNN_EXTRA_BYTES / sizeof(int8_t)> v1;
alignas(16) static std::array<int8_t, 401408 + XNN_EXTRA_BYTES / sizeof(int8_t)> v2;
alignas(16) static std::array<int8_t, 200704 + XNN_EXTRA_BYTES / sizeof(int8_t)> v3;
alignas(16) static std::array<int8_t, 1204224 + XNN_EXTRA_BYTES / sizeof(int8_t)> v4;
alignas(16) static std::array<int8_t, 301056 + XNN_EXTRA_BYTES / sizeof(int8_t)> v5;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v6;
alignas(16) static std::array<int8_t, 451584 + XNN_EXTRA_BYTES / sizeof(int8_t)> v7;
alignas(16) static std::array<int8_t, 451584 + XNN_EXTRA_BYTES / sizeof(int8_t)> v8;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v9;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v10;
alignas(16) static std::array<int8_t, 451584 + XNN_EXTRA_BYTES / sizeof(int8_t)> v11;
alignas(16) static std::array<int8_t, 112896 + XNN_EXTRA_BYTES / sizeof(int8_t)> v12;
alignas(16) static std::array<int8_t, 25088 + XNN_EXTRA_BYTES / sizeof(int8_t)> v13;
alignas(16) static std::array<int8_t, 150528 + XNN_EXTRA_BYTES / sizeof(int8_t)> v14;
alignas(16) static std::array<int8_t, 150528 + XNN_EXTRA_BYTES / sizeof(int8_t)> v15;
alignas(16) static std::array<int8_t, 25088 + XNN_EXTRA_BYTES / sizeof(int8_t)> v16;
alignas(16) static std::array<int8_t, 25088 + XNN_EXTRA_BYTES / sizeof(int8_t)> v17;
alignas(16) static std::array<int8_t, 150528 + XNN_EXTRA_BYTES / sizeof(int8_t)> v18;
alignas(16) static std::array<int8_t, 150528 + XNN_EXTRA_BYTES / sizeof(int8_t)> v19;
alignas(16) static std::array<int8_t, 25088 + XNN_EXTRA_BYTES / sizeof(int8_t)> v20;
alignas(16) static std::array<int8_t, 25088 + XNN_EXTRA_BYTES / sizeof(int8_t)> v21;
alignas(16) static std::array<int8_t, 150528 + XNN_EXTRA_BYTES / sizeof(int8_t)> v22;
alignas(16) static std::array<int8_t, 37632 + XNN_EXTRA_BYTES / sizeof(int8_t)> v23;
alignas(16) static std::array<int8_t, 12544 + XNN_EXTRA_BYTES / sizeof(int8_t)> v24;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v25;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v26;
alignas(16) static std::array<int8_t, 12544 + XNN_EXTRA_BYTES / sizeof(int8_t)> v27;
alignas(16) static std::array<int8_t, 12544 + XNN_EXTRA_BYTES / sizeof(int8_t)> v28;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v29;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v30;
alignas(16) static std::array<int8_t, 12544 + XNN_EXTRA_BYTES / sizeof(int8_t)> v31;
alignas(16) static std::array<int8_t, 12544 + XNN_EXTRA_BYTES / sizeof(int8_t)> v32;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v33;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v34;
alignas(16) static std::array<int8_t, 12544 + XNN_EXTRA_BYTES / sizeof(int8_t)> v35;
alignas(16) static std::array<int8_t, 12544 + XNN_EXTRA_BYTES / sizeof(int8_t)> v36;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v37;
alignas(16) static std::array<int8_t, 75264 + XNN_EXTRA_BYTES / sizeof(int8_t)> v38;
alignas(16) static std::array<int8_t, 18816 + XNN_EXTRA_BYTES / sizeof(int8_t)> v39;
alignas(16) static std::array<int8_t, 112896 + XNN_EXTRA_BYTES / sizeof(int8_t)> v40;
alignas(16) static std::array<int8_t, 112896 + XNN_EXTRA_BYTES / sizeof(int8_t)> v41;
alignas(16) static std::array<int8_t, 18816 + XNN_EXTRA_BYTES / sizeof(int8_t)> v42;
alignas(16) static std::array<int8_t, 18816 + XNN_EXTRA_BYTES / sizeof(int8_t)> v43;
alignas(16) static std::array<int8_t, 112896 + XNN_EXTRA_BYTES / sizeof(int8_t)> v44;
alignas(16) static std::array<int8_t, 112896 + XNN_EXTRA_BYTES / sizeof(int8_t)> v45;
alignas(16) static std::array<int8_t, 18816 + XNN_EXTRA_BYTES / sizeof(int8_t)> v46;
alignas(16) static std::array<int8_t, 18816 + XNN_EXTRA_BYTES / sizeof(int8_t)> v47;
alignas(16) static std::array<int8_t, 112896 + XNN_EXTRA_BYTES / sizeof(int8_t)> v48;
alignas(16) static std::array<int8_t, 28224 + XNN_EXTRA_BYTES / sizeof(int8_t)> v49;
alignas(16) static std::array<int8_t, 7840 + XNN_EXTRA_BYTES / sizeof(int8_t)> v50;
alignas(16) static std::array<int8_t, 47040 + XNN_EXTRA_BYTES / sizeof(int8_t)> v51;
alignas(16) static std::array<int8_t, 47040 + XNN_EXTRA_BYTES / sizeof(int8_t)> v52;
alignas(16) static std::array<int8_t, 7840 + XNN_EXTRA_BYTES / sizeof(int8_t)> v53;
alignas(16) static std::array<int8_t, 7840 + XNN_EXTRA_BYTES / sizeof(int8_t)> v54;
alignas(16) static std::array<int8_t, 47040 + XNN_EXTRA_BYTES / sizeof(int8_t)> v55;
alignas(16) static std::array<int8_t, 47040 + XNN_EXTRA_BYTES / sizeof(int8_t)> v56;
alignas(16) static std::array<int8_t, 7840 + XNN_EXTRA_BYTES / sizeof(int8_t)> v57;
alignas(16) static std::array<int8_t, 7840 + XNN_EXTRA_BYTES / sizeof(int8_t)> v58;
alignas(16) static std::array<int8_t, 47040 + XNN_EXTRA_BYTES / sizeof(int8_t)> v59;
alignas(16) static std::array<int8_t, 47040 + XNN_EXTRA_BYTES / sizeof(int8_t)> v60;
alignas(16) static std::array<int8_t, 15680 + XNN_EXTRA_BYTES / sizeof(int8_t)> v61;
alignas(16) static std::array<int8_t, 62720 + XNN_EXTRA_BYTES / sizeof(int8_t)> v62;
alignas(16) static std::array<int8_t, 1280 + XNN_EXTRA_BYTES / sizeof(int8_t)> v63;
alignas(16) static std::array<int8_t, 1001 + XNN_EXTRA_BYTES / sizeof(int8_t)> v64;
alignas(16) static std::array<int8_t, 864 + XNN_EXTRA_BYTES / sizeof(int8_t)> w65;
alignas(16) static std::array<float, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> s65;
alignas(16) static std::array<int32_t, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> w66;
alignas(16) static std::array<int8_t, 288 + XNN_EXTRA_BYTES / sizeof(int8_t)> w67;
alignas(16) static std::array<float, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> s67;
alignas(16) static std::array<int32_t, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> w68;
alignas(16) static std::array<int8_t, 512 + XNN_EXTRA_BYTES / sizeof(int8_t)> w69;
alignas(16) static std::array<float, 16 + XNN_EXTRA_BYTES / sizeof(int8_t)> s69;
alignas(16) static std::array<int32_t, 16 + XNN_EXTRA_BYTES / sizeof(int8_t)> w70;
alignas(16) static std::array<int8_t, 1536 + XNN_EXTRA_BYTES / sizeof(int8_t)> w71;
alignas(16) static std::array<float, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> s71;
alignas(16) static std::array<int32_t, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> w72;
alignas(16) static std::array<int8_t, 864 + XNN_EXTRA_BYTES / sizeof(int8_t)> w73;
alignas(16) static std::array<float, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> s73;
alignas(16) static std::array<int32_t, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> w74;
alignas(16) static std::array<int8_t, 2304 + XNN_EXTRA_BYTES / sizeof(int8_t)> w75;
alignas(16) static std::array<float, 24 + XNN_EXTRA_BYTES / sizeof(int8_t)> s75;
alignas(16) static std::array<int32_t, 24 + XNN_EXTRA_BYTES / sizeof(int8_t)> w76;
alignas(16) static std::array<int8_t, 3456 + XNN_EXTRA_BYTES / sizeof(int8_t)> w77;
alignas(16) static std::array<float, 144 + XNN_EXTRA_BYTES / sizeof(int8_t)> s77;
alignas(16) static std::array<int32_t, 144 + XNN_EXTRA_BYTES / sizeof(int8_t)> w78;
alignas(16) static std::array<int8_t, 1296 + XNN_EXTRA_BYTES / sizeof(int8_t)> w79;
alignas(16) static std::array<float, 144 + XNN_EXTRA_BYTES / sizeof(int8_t)> s79;
alignas(16) static std::array<int32_t, 144 + XNN_EXTRA_BYTES / sizeof(int8_t)> w80;
alignas(16) static std::array<int8_t, 3456 + XNN_EXTRA_BYTES / sizeof(int8_t)> w81;
alignas(16) static std::array<float, 24 + XNN_EXTRA_BYTES / sizeof(int8_t)> s81;
alignas(16) static std::array<int32_t, 24 + XNN_EXTRA_BYTES / sizeof(int8_t)> w82;
alignas(16) static std::array<int8_t, 3456 + XNN_EXTRA_BYTES / sizeof(int8_t)> w83;
alignas(16) static std::array<float, 144 + XNN_EXTRA_BYTES / sizeof(int8_t)> s83;
alignas(16) static std::array<int32_t, 144 + XNN_EXTRA_BYTES / sizeof(int8_t)> w84;
alignas(16) static std::array<int8_t, 1296 + XNN_EXTRA_BYTES / sizeof(int8_t)> w85;
alignas(16) static std::array<float, 144 + XNN_EXTRA_BYTES / sizeof(int8_t)> s85;
alignas(16) static std::array<int32_t, 144 + XNN_EXTRA_BYTES / sizeof(int8_t)> w86;
alignas(16) static std::array<int8_t, 4608 + XNN_EXTRA_BYTES / sizeof(int8_t)> w87;
alignas(16) static std::array<float, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> s87;
alignas(16) static std::array<int32_t, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> w88;
alignas(16) static std::array<int8_t, 6144 + XNN_EXTRA_BYTES / sizeof(int8_t)> w89;
alignas(16) static std::array<float, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> s89;
alignas(16) static std::array<int32_t, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> w90;
alignas(16) static std::array<int8_t, 1728 + XNN_EXTRA_BYTES / sizeof(int8_t)> w91;
alignas(16) static std::array<float, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> s91;
alignas(16) static std::array<int32_t, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> w92;
alignas(16) static std::array<int8_t, 6144 + XNN_EXTRA_BYTES / sizeof(int8_t)> w93;
alignas(16) static std::array<float, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> s93;
alignas(16) static std::array<int32_t, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> w94;
alignas(16) static std::array<int8_t, 6144 + XNN_EXTRA_BYTES / sizeof(int8_t)> w95;
alignas(16) static std::array<float, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> s95;
alignas(16) static std::array<int32_t, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> w96;
alignas(16) static std::array<int8_t, 1728 + XNN_EXTRA_BYTES / sizeof(int8_t)> w97;
alignas(16) static std::array<float, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> s97;
alignas(16) static std::array<int32_t, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> w98;
alignas(16) static std::array<int8_t, 6144 + XNN_EXTRA_BYTES / sizeof(int8_t)> w99;
alignas(16) static std::array<float, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> s99;
alignas(16) static std::array<int32_t, 32 + XNN_EXTRA_BYTES / sizeof(int8_t)> w100;
alignas(16) static std::array<int8_t, 6144 + XNN_EXTRA_BYTES / sizeof(int8_t)> w101;
alignas(16) static std::array<float, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> s101;
alignas(16) static std::array<int32_t, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> w102;
alignas(16) static std::array<int8_t, 1728 + XNN_EXTRA_BYTES / sizeof(int8_t)> w103;
alignas(16) static std::array<float, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> s103;
alignas(16) static std::array<int32_t, 192 + XNN_EXTRA_BYTES / sizeof(int8_t)> w104;
alignas(16) static std::array<int8_t, 12288 + XNN_EXTRA_BYTES / sizeof(int8_t)> w105;
alignas(16) static std::array<float, 64 + XNN_EXTRA_BYTES / sizeof(int8_t)> s105;
alignas(16) static std::array<int32_t, 64 + XNN_EXTRA_BYTES / sizeof(int8_t)> w106;
alignas(16) static std::array<int8_t, 24576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w107;
alignas(16) static std::array<float, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> s107;
alignas(16) static std::array<int32_t, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> w108;
alignas(16) static std::array<int8_t, 3456 + XNN_EXTRA_BYTES / sizeof(int8_t)> w109;
alignas(16) static std::array<float, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> s109;
alignas(16) static std::array<int32_t, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> w110;
alignas(16) static std::array<int8_t, 24576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w111;
alignas(16) static std::array<float, 64 + XNN_EXTRA_BYTES / sizeof(int8_t)> s111;
alignas(16) static std::array<int32_t, 64 + XNN_EXTRA_BYTES / sizeof(int8_t)> w112;
alignas(16) static std::array<int8_t, 24576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w113;
alignas(16) static std::array<float, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> s113;
alignas(16) static std::array<int32_t, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> w114;
alignas(16) static std::array<int8_t, 3456 + XNN_EXTRA_BYTES / sizeof(int8_t)> w115;
alignas(16) static std::array<float, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> s115;
alignas(16) static std::array<int32_t, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> w116;
alignas(16) static std::array<int8_t, 24576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w117;
alignas(16) static std::array<float, 64 + XNN_EXTRA_BYTES / sizeof(int8_t)> s117;
alignas(16) static std::array<int32_t, 64 + XNN_EXTRA_BYTES / sizeof(int8_t)> w118;
alignas(16) static std::array<int8_t, 24576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w119;
alignas(16) static std::array<float, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> s119;
alignas(16) static std::array<int32_t, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> w120;
alignas(16) static std::array<int8_t, 3456 + XNN_EXTRA_BYTES / sizeof(int8_t)> w121;
alignas(16) static std::array<float, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> s121;
alignas(16) static std::array<int32_t, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> w122;
alignas(16) static std::array<int8_t, 24576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w123;
alignas(16) static std::array<float, 64 + XNN_EXTRA_BYTES / sizeof(int8_t)> s123;
alignas(16) static std::array<int32_t, 64 + XNN_EXTRA_BYTES / sizeof(int8_t)> w124;
alignas(16) static std::array<int8_t, 24576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w125;
alignas(16) static std::array<float, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> s125;
alignas(16) static std::array<int32_t, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> w126;
alignas(16) static std::array<int8_t, 3456 + XNN_EXTRA_BYTES / sizeof(int8_t)> w127;
alignas(16) static std::array<float, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> s127;
alignas(16) static std::array<int32_t, 384 + XNN_EXTRA_BYTES / sizeof(int8_t)> w128;
alignas(16) static std::array<int8_t, 36864 + XNN_EXTRA_BYTES / sizeof(int8_t)> w129;
alignas(16) static std::array<float, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> s129;
alignas(16) static std::array<int32_t, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> w130;
alignas(16) static std::array<int8_t, 55296 + XNN_EXTRA_BYTES / sizeof(int8_t)> w131;
alignas(16) static std::array<float, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> s131;
alignas(16) static std::array<int32_t, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w132;
alignas(16) static std::array<int8_t, 5184 + XNN_EXTRA_BYTES / sizeof(int8_t)> w133;
alignas(16) static std::array<float, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> s133;
alignas(16) static std::array<int32_t, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w134;
alignas(16) static std::array<int8_t, 55296 + XNN_EXTRA_BYTES / sizeof(int8_t)> w135;
alignas(16) static std::array<float, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> s135;
alignas(16) static std::array<int32_t, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> w136;
alignas(16) static std::array<int8_t, 55296 + XNN_EXTRA_BYTES / sizeof(int8_t)> w137;
alignas(16) static std::array<float, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> s137;
alignas(16) static std::array<int32_t, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w138;
alignas(16) static std::array<int8_t, 5184 + XNN_EXTRA_BYTES / sizeof(int8_t)> w139;
alignas(16) static std::array<float, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> s139;
alignas(16) static std::array<int32_t, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w140;
alignas(16) static std::array<int8_t, 55296 + XNN_EXTRA_BYTES / sizeof(int8_t)> w141;
alignas(16) static std::array<float, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> s141;
alignas(16) static std::array<int32_t, 96 + XNN_EXTRA_BYTES / sizeof(int8_t)> w142;
alignas(16) static std::array<int8_t, 55296 + XNN_EXTRA_BYTES / sizeof(int8_t)> w143;
alignas(16) static std::array<float, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> s143;
alignas(16) static std::array<int32_t, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w144;
alignas(16) static std::array<int8_t, 5184 + XNN_EXTRA_BYTES / sizeof(int8_t)> w145;
alignas(16) static std::array<float, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> s145;
alignas(16) static std::array<int32_t, 576 + XNN_EXTRA_BYTES / sizeof(int8_t)> w146;
alignas(16) static std::array<int8_t, 92160 + XNN_EXTRA_BYTES / sizeof(int8_t)> w147;
alignas(16) static std::array<float, 160 + XNN_EXTRA_BYTES / sizeof(int8_t)> s147;
alignas(16) static std::array<int32_t, 160 + XNN_EXTRA_BYTES / sizeof(int8_t)> w148;
alignas(16) static std::array<int8_t, 153600 + XNN_EXTRA_BYTES / sizeof(int8_t)> w149;
alignas(16) static std::array<float, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> s149;
alignas(16) static std::array<int32_t, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> w150;
alignas(16) static std::array<int8_t, 8640 + XNN_EXTRA_BYTES / sizeof(int8_t)> w151;
alignas(16) static std::array<float, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> s151;
alignas(16) static std::array<int32_t, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> w152;
alignas(16) static std::array<int8_t, 153600 + XNN_EXTRA_BYTES / sizeof(int8_t)> w153;
alignas(16) static std::array<float, 160 + XNN_EXTRA_BYTES / sizeof(int8_t)> s153;
alignas(16) static std::array<int32_t, 160 + XNN_EXTRA_BYTES / sizeof(int8_t)> w154;
alignas(16) static std::array<int8_t, 153600 + XNN_EXTRA_BYTES / sizeof(int8_t)> w155;
alignas(16) static std::array<float, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> s155;
alignas(16) static std::array<int32_t, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> w156;
alignas(16) static std::array<int8_t, 8640 + XNN_EXTRA_BYTES / sizeof(int8_t)> w157;
alignas(16) static std::array<float, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> s157;
alignas(16) static std::array<int32_t, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> w158;
alignas(16) static std::array<int8_t, 153600 + XNN_EXTRA_BYTES / sizeof(int8_t)> w159;
alignas(16) static std::array<float, 160 + XNN_EXTRA_BYTES / sizeof(int8_t)> s159;
alignas(16) static std::array<int32_t, 160 + XNN_EXTRA_BYTES / sizeof(int8_t)> w160;
alignas(16) static std::array<int8_t, 153600 + XNN_EXTRA_BYTES / sizeof(int8_t)> w161;
alignas(16) static std::array<float, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> s161;
alignas(16) static std::array<int32_t, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> w162;
alignas(16) static std::array<int8_t, 8640 + XNN_EXTRA_BYTES / sizeof(int8_t)> w163;
alignas(16) static std::array<float, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> s163;
alignas(16) static std::array<int32_t, 960 + XNN_EXTRA_BYTES / sizeof(int8_t)> w164;
alignas(16) static std::array<int8_t, 307200 + XNN_EXTRA_BYTES / sizeof(int8_t)> w165;
alignas(16) static std::array<float, 320 + XNN_EXTRA_BYTES / sizeof(int8_t)> s165;
alignas(16) static std::array<int32_t, 320 + XNN_EXTRA_BYTES / sizeof(int8_t)> w166;
alignas(16) static std::array<int8_t, 409600 + XNN_EXTRA_BYTES / sizeof(int8_t)> w167;
alignas(16) static std::array<float, 1280 + XNN_EXTRA_BYTES / sizeof(int8_t)> s167;
alignas(16) static std::array<int32_t, 1280 + XNN_EXTRA_BYTES / sizeof(int8_t)> w168;
alignas(16) static std::array<int8_t, 1281280 + XNN_EXTRA_BYTES / sizeof(int8_t)> w169;
alignas(16) static std::array<float, 1001 + XNN_EXTRA_BYTES / sizeof(int8_t)> s169;
alignas(16) static std::array<int32_t, 1001 + XNN_EXTRA_BYTES / sizeof(int8_t)> w170;
std::random_device random_device;
auto rng = std::mt19937(random_device());
auto i8rng = std::bind(std::uniform_int_distribution<int32_t>(-127, 127), std::ref(rng));
auto i32rng = std::bind(std::uniform_int_distribution<int32_t>(-10000, 10000), std::ref(rng));
auto srng = std::bind(std::uniform_real_distribution<float>(0.5f, 0.75f), std::ref(rng));
std::generate(v0.begin(), v0.end(), std::ref(i8rng));
std::generate(v1.begin(), v1.end(), std::ref(i8rng));
std::generate(v2.begin(), v2.end(), std::ref(i8rng));
std::generate(v3.begin(), v3.end(), std::ref(i8rng));
std::generate(v4.begin(), v4.end(), std::ref(i8rng));
std::generate(v5.begin(), v5.end(), std::ref(i8rng));
std::generate(v6.begin(), v6.end(), std::ref(i8rng));
std::generate(v7.begin(), v7.end(), std::ref(i8rng));
std::generate(v8.begin(), v8.end(), std::ref(i8rng));
std::generate(v9.begin(), v9.end(), std::ref(i8rng));
std::generate(v10.begin(), v10.end(), std::ref(i8rng));
std::generate(v11.begin(), v11.end(), std::ref(i8rng));
std::generate(v12.begin(), v12.end(), std::ref(i8rng));
std::generate(v13.begin(), v13.end(), std::ref(i8rng));
std::generate(v14.begin(), v14.end(), std::ref(i8rng));
std::generate(v15.begin(), v15.end(), std::ref(i8rng));
std::generate(v16.begin(), v16.end(), std::ref(i8rng));
std::generate(v17.begin(), v17.end(), std::ref(i8rng));
std::generate(v18.begin(), v18.end(), std::ref(i8rng));
std::generate(v19.begin(), v19.end(), std::ref(i8rng));
std::generate(v20.begin(), v20.end(), std::ref(i8rng));
std::generate(v21.begin(), v21.end(), std::ref(i8rng));
std::generate(v22.begin(), v22.end(), std::ref(i8rng));
std::generate(v23.begin(), v23.end(), std::ref(i8rng));
std::generate(v24.begin(), v24.end(), std::ref(i8rng));
std::generate(v25.begin(), v25.end(), std::ref(i8rng));
std::generate(v26.begin(), v26.end(), std::ref(i8rng));
std::generate(v27.begin(), v27.end(), std::ref(i8rng));
std::generate(v28.begin(), v28.end(), std::ref(i8rng));
std::generate(v29.begin(), v29.end(), std::ref(i8rng));
std::generate(v30.begin(), v30.end(), std::ref(i8rng));
std::generate(v31.begin(), v31.end(), std::ref(i8rng));
std::generate(v32.begin(), v32.end(), std::ref(i8rng));
std::generate(v33.begin(), v33.end(), std::ref(i8rng));
std::generate(v34.begin(), v34.end(), std::ref(i8rng));
std::generate(v35.begin(), v35.end(), std::ref(i8rng));
std::generate(v36.begin(), v36.end(), std::ref(i8rng));
std::generate(v37.begin(), v37.end(), std::ref(i8rng));
std::generate(v38.begin(), v38.end(), std::ref(i8rng));
std::generate(v39.begin(), v39.end(), std::ref(i8rng));
std::generate(v40.begin(), v40.end(), std::ref(i8rng));
std::generate(v41.begin(), v41.end(), std::ref(i8rng));
std::generate(v42.begin(), v42.end(), std::ref(i8rng));
std::generate(v43.begin(), v43.end(), std::ref(i8rng));
std::generate(v44.begin(), v44.end(), std::ref(i8rng));
std::generate(v45.begin(), v45.end(), std::ref(i8rng));
std::generate(v46.begin(), v46.end(), std::ref(i8rng));
std::generate(v47.begin(), v47.end(), std::ref(i8rng));
std::generate(v48.begin(), v48.end(), std::ref(i8rng));
std::generate(v49.begin(), v49.end(), std::ref(i8rng));
std::generate(v50.begin(), v50.end(), std::ref(i8rng));
std::generate(v51.begin(), v51.end(), std::ref(i8rng));
std::generate(v52.begin(), v52.end(), std::ref(i8rng));
std::generate(v53.begin(), v53.end(), std::ref(i8rng));
std::generate(v54.begin(), v54.end(), std::ref(i8rng));
std::generate(v55.begin(), v55.end(), std::ref(i8rng));
std::generate(v56.begin(), v56.end(), std::ref(i8rng));
std::generate(v57.begin(), v57.end(), std::ref(i8rng));
std::generate(v58.begin(), v58.end(), std::ref(i8rng));
std::generate(v59.begin(), v59.end(), std::ref(i8rng));
std::generate(v60.begin(), v60.end(), std::ref(i8rng));
std::generate(v61.begin(), v61.end(), std::ref(i8rng));
std::generate(v62.begin(), v62.end(), std::ref(i8rng));
std::generate(v63.begin(), v63.end(), std::ref(i8rng));
std::generate(v64.begin(), v64.end(), std::ref(i8rng));
std::generate(w65.begin(), w65.end(), std::ref(i8rng));
std::generate(s65.begin(), s65.end(), std::ref(srng));
std::generate(w66.begin(), w66.end(), std::ref(i32rng));
std::generate(w67.begin(), w67.end(), std::ref(i8rng));
std::generate(s67.begin(), s67.end(), std::ref(srng));
std::generate(w68.begin(), w68.end(), std::ref(i32rng));
std::generate(w69.begin(), w69.end(), std::ref(i8rng));
std::generate(s69.begin(), s69.end(), std::ref(srng));
std::generate(w70.begin(), w70.end(), std::ref(i32rng));
std::generate(w71.begin(), w71.end(), std::ref(i8rng));
std::generate(s71.begin(), s71.end(), std::ref(srng));
std::generate(w72.begin(), w72.end(), std::ref(i32rng));
std::generate(w73.begin(), w73.end(), std::ref(i8rng));
std::generate(s73.begin(), s73.end(), std::ref(srng));
std::generate(w74.begin(), w74.end(), std::ref(i32rng));
std::generate(w75.begin(), w75.end(), std::ref(i8rng));
std::generate(s75.begin(), s75.end(), std::ref(srng));
std::generate(w76.begin(), w76.end(), std::ref(i32rng));
std::generate(w77.begin(), w77.end(), std::ref(i8rng));
std::generate(s77.begin(), s77.end(), std::ref(srng));
std::generate(w78.begin(), w78.end(), std::ref(i32rng));
std::generate(w79.begin(), w79.end(), std::ref(i8rng));
std::generate(s79.begin(), s79.end(), std::ref(srng));
std::generate(w80.begin(), w80.end(), std::ref(i32rng));
std::generate(w81.begin(), w81.end(), std::ref(i8rng));
std::generate(s81.begin(), s81.end(), std::ref(srng));
std::generate(w82.begin(), w82.end(), std::ref(i32rng));
std::generate(w83.begin(), w83.end(), std::ref(i8rng));
std::generate(s83.begin(), s83.end(), std::ref(srng));
std::generate(w84.begin(), w84.end(), std::ref(i32rng));
std::generate(w85.begin(), w85.end(), std::ref(i8rng));
std::generate(s85.begin(), s85.end(), std::ref(srng));
std::generate(w86.begin(), w86.end(), std::ref(i32rng));
std::generate(w87.begin(), w87.end(), std::ref(i8rng));
std::generate(s87.begin(), s87.end(), std::ref(srng));
std::generate(w88.begin(), w88.end(), std::ref(i32rng));
std::generate(w89.begin(), w89.end(), std::ref(i8rng));
std::generate(s89.begin(), s89.end(), std::ref(srng));
std::generate(w90.begin(), w90.end(), std::ref(i32rng));
std::generate(w91.begin(), w91.end(), std::ref(i8rng));
std::generate(s91.begin(), s91.end(), std::ref(srng));
std::generate(w92.begin(), w92.end(), std::ref(i32rng));
std::generate(w93.begin(), w93.end(), std::ref(i8rng));
std::generate(s93.begin(), s93.end(), std::ref(srng));
std::generate(w94.begin(), w94.end(), std::ref(i32rng));
std::generate(w95.begin(), w95.end(), std::ref(i8rng));
std::generate(s95.begin(), s95.end(), std::ref(srng));
std::generate(w96.begin(), w96.end(), std::ref(i32rng));
std::generate(w97.begin(), w97.end(), std::ref(i8rng));
std::generate(s97.begin(), s97.end(), std::ref(srng));
std::generate(w98.begin(), w98.end(), std::ref(i32rng));
std::generate(w99.begin(), w99.end(), std::ref(i8rng));
std::generate(s99.begin(), s99.end(), std::ref(srng));
std::generate(w100.begin(), w100.end(), std::ref(i32rng));
std::generate(w101.begin(), w101.end(), std::ref(i8rng));
std::generate(s101.begin(), s101.end(), std::ref(srng));
std::generate(w102.begin(), w102.end(), std::ref(i32rng));
std::generate(w103.begin(), w103.end(), std::ref(i8rng));
std::generate(s103.begin(), s103.end(), std::ref(srng));
std::generate(w104.begin(), w104.end(), std::ref(i32rng));
std::generate(w105.begin(), w105.end(), std::ref(i8rng));
std::generate(s105.begin(), s105.end(), std::ref(srng));
std::generate(w106.begin(), w106.end(), std::ref(i32rng));
std::generate(w107.begin(), w107.end(), std::ref(i8rng));
std::generate(s107.begin(), s107.end(), std::ref(srng));
std::generate(w108.begin(), w108.end(), std::ref(i32rng));
std::generate(w109.begin(), w109.end(), std::ref(i8rng));
std::generate(s109.begin(), s109.end(), std::ref(srng));
std::generate(w110.begin(), w110.end(), std::ref(i32rng));
std::generate(w111.begin(), w111.end(), std::ref(i8rng));
std::generate(s111.begin(), s111.end(), std::ref(srng));
std::generate(w112.begin(), w112.end(), std::ref(i32rng));
std::generate(w113.begin(), w113.end(), std::ref(i8rng));
std::generate(s113.begin(), s113.end(), std::ref(srng));
std::generate(w114.begin(), w114.end(), std::ref(i32rng));
std::generate(w115.begin(), w115.end(), std::ref(i8rng));
std::generate(s115.begin(), s115.end(), std::ref(srng));
std::generate(w116.begin(), w116.end(), std::ref(i32rng));
std::generate(w117.begin(), w117.end(), std::ref(i8rng));
std::generate(s117.begin(), s117.end(), std::ref(srng));
std::generate(w118.begin(), w118.end(), std::ref(i32rng));
std::generate(w119.begin(), w119.end(), std::ref(i8rng));
std::generate(s119.begin(), s119.end(), std::ref(srng));
std::generate(w120.begin(), w120.end(), std::ref(i32rng));
std::generate(w121.begin(), w121.end(), std::ref(i8rng));
std::generate(s121.begin(), s121.end(), std::ref(srng));
std::generate(w122.begin(), w122.end(), std::ref(i32rng));
std::generate(w123.begin(), w123.end(), std::ref(i8rng));
std::generate(s123.begin(), s123.end(), std::ref(srng));
std::generate(w124.begin(), w124.end(), std::ref(i32rng));
std::generate(w125.begin(), w125.end(), std::ref(i8rng));
std::generate(s125.begin(), s125.end(), std::ref(srng));
std::generate(w126.begin(), w126.end(), std::ref(i32rng));
std::generate(w127.begin(), w127.end(), std::ref(i8rng));
std::generate(s127.begin(), s127.end(), std::ref(srng));
std::generate(w128.begin(), w128.end(), std::ref(i32rng));
std::generate(w129.begin(), w129.end(), std::ref(i8rng));
std::generate(s129.begin(), s129.end(), std::ref(srng));
std::generate(w130.begin(), w130.end(), std::ref(i32rng));
std::generate(w131.begin(), w131.end(), std::ref(i8rng));
std::generate(s131.begin(), s131.end(), std::ref(srng));
std::generate(w132.begin(), w132.end(), std::ref(i32rng));
std::generate(w133.begin(), w133.end(), std::ref(i8rng));
std::generate(s133.begin(), s133.end(), std::ref(srng));
std::generate(w134.begin(), w134.end(), std::ref(i32rng));
std::generate(w135.begin(), w135.end(), std::ref(i8rng));
std::generate(s135.begin(), s135.end(), std::ref(srng));
std::generate(w136.begin(), w136.end(), std::ref(i32rng));
std::generate(w137.begin(), w137.end(), std::ref(i8rng));
std::generate(s137.begin(), s137.end(), std::ref(srng));
std::generate(w138.begin(), w138.end(), std::ref(i32rng));
std::generate(w139.begin(), w139.end(), std::ref(i8rng));
std::generate(s139.begin(), s139.end(), std::ref(srng));
std::generate(w140.begin(), w140.end(), std::ref(i32rng));
std::generate(w141.begin(), w141.end(), std::ref(i8rng));
std::generate(s141.begin(), s141.end(), std::ref(srng));
std::generate(w142.begin(), w142.end(), std::ref(i32rng));
std::generate(w143.begin(), w143.end(), std::ref(i8rng));
std::generate(s143.begin(), s143.end(), std::ref(srng));
std::generate(w144.begin(), w144.end(), std::ref(i32rng));
std::generate(w145.begin(), w145.end(), std::ref(i8rng));
std::generate(s145.begin(), s145.end(), std::ref(srng));
std::generate(w146.begin(), w146.end(), std::ref(i32rng));
std::generate(w147.begin(), w147.end(), std::ref(i8rng));
std::generate(s147.begin(), s147.end(), std::ref(srng));
std::generate(w148.begin(), w148.end(), std::ref(i32rng));
std::generate(w149.begin(), w149.end(), std::ref(i8rng));
std::generate(s149.begin(), s149.end(), std::ref(srng));
std::generate(w150.begin(), w150.end(), std::ref(i32rng));
std::generate(w151.begin(), w151.end(), std::ref(i8rng));
std::generate(s151.begin(), s151.end(), std::ref(srng));
std::generate(w152.begin(), w152.end(), std::ref(i32rng));
std::generate(w151.begin(), w151.end(), std::ref(i8rng));
std::generate(s153.begin(), s153.end(), std::ref(srng));
std::generate(w154.begin(), w154.end(), std::ref(i32rng));
std::generate(w155.begin(), w155.end(), std::ref(i8rng));
std::generate(s155.begin(), s155.end(), std::ref(srng));
std::generate(w156.begin(), w156.end(), std::ref(i32rng));
std::generate(w157.begin(), w157.end(), std::ref(i8rng));
std::generate(s157.begin(), s157.end(), std::ref(srng));
std::generate(w158.begin(), w158.end(), std::ref(i32rng));
std::generate(w159.begin(), w159.end(), std::ref(i8rng));
std::generate(s159.begin(), s159.end(), std::ref(srng));
std::generate(w160.begin(), w160.end(), std::ref(i32rng));
std::generate(w161.begin(), w161.end(), std::ref(i8rng));
std::generate(s161.begin(), s161.end(), std::ref(srng));
std::generate(w162.begin(), w162.end(), std::ref(i32rng));
std::generate(w163.begin(), w163.end(), std::ref(i8rng));
std::generate(s163.begin(), s163.end(), std::ref(srng));
std::generate(w164.begin(), w164.end(), std::ref(i32rng));
std::generate(w165.begin(), w165.end(), std::ref(i8rng));
std::generate(s165.begin(), s165.end(), std::ref(srng));
std::generate(w166.begin(), w166.end(), std::ref(i32rng));
std::generate(w167.begin(), w167.end(), std::ref(i8rng));
std::generate(s167.begin(), s167.end(), std::ref(srng));
std::generate(w168.begin(), w168.end(), std::ref(i32rng));
std::generate(w169.begin(), w169.end(), std::ref(i8rng));
std::generate(s169.begin(), s169.end(), std::ref(srng));
std::generate(w170.begin(), w170.end(), std::ref(i32rng));
ExecutionPlan operators;
xnn_status status;
xnn_operator_t op0 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 0 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
2 /* subsampling height */, 2 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
3 /* input channels per group */,
32 /* output_channels_per_group */,
3 /* input pixel stride */,
32 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s65.data(), w65.data(), w66.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op0);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #0" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op0, xnn_delete_operator);
xnn_operator_t op1 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
32 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
32 /* input pixel stride */,
32 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s67.data(), w67.data(), w68.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op1);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #1" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op1, xnn_delete_operator);
xnn_operator_t op2 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
32 /* input channels per group */,
16 /* output_channels_per_group */,
32 /* input pixel stride */,
16 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s69.data(), w69.data(), w70.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op2);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #2" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op2, xnn_delete_operator);
xnn_operator_t op3 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
16 /* input channels per group */,
96 /* output_channels_per_group */,
16 /* input pixel stride */,
96 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s71.data(), w71.data(), w72.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op3);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #3" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op3, xnn_delete_operator);
xnn_operator_t op4 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 0 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
2 /* subsampling height */, 2 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
96 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
96 /* input pixel stride */,
96 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s73.data(), w73.data(), w74.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op4);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #4" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op4, xnn_delete_operator);
xnn_operator_t op5 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
96 /* input channels per group */,
24 /* output_channels_per_group */,
96 /* input pixel stride */,
24 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s75.data(), w75.data(), w76.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op5);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #5" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op5, xnn_delete_operator);
xnn_operator_t op6 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
24 /* input channels per group */,
144 /* output_channels_per_group */,
24 /* input pixel stride */,
144 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s77.data(), w77.data(), w78.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op6);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #6" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op6, xnn_delete_operator);
xnn_operator_t op7 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
144 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
144 /* input pixel stride */,
144 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s79.data(), w79.data(), w80.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op7);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #7" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op7, xnn_delete_operator);
xnn_operator_t op8 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
144 /* input channels per group */,
24 /* output_channels_per_group */,
144 /* input pixel stride */,
24 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s81.data(), w81.data(), w82.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op8);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #8" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op8, xnn_delete_operator);
xnn_operator_t op9 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op9);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #9" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op9, xnn_delete_operator);
xnn_operator_t op10 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
24 /* input channels per group */,
144 /* output_channels_per_group */,
24 /* input pixel stride */,
144 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s83.data(), w83.data(), w84.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op10);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #10" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op10, xnn_delete_operator);
xnn_operator_t op11 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 0 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
2 /* subsampling height */, 2 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
144 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
144 /* input pixel stride */,
144 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s85.data(), w85.data(), w86.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op11);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #11" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op11, xnn_delete_operator);
xnn_operator_t op12 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
144 /* input channels per group */,
32 /* output_channels_per_group */,
144 /* input pixel stride */,
32 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s87.data(), w87.data(), w88.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op12);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #12" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op12, xnn_delete_operator);
xnn_operator_t op13 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
32 /* input channels per group */,
192 /* output_channels_per_group */,
32 /* input pixel stride */,
192 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s89.data(), w89.data(), w90.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op13);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #13" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op13, xnn_delete_operator);
xnn_operator_t op14 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
192 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
192 /* input pixel stride */,
192 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s91.data(), w91.data(), w92.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op14);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #14" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op14, xnn_delete_operator);
xnn_operator_t op15 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
192 /* input channels per group */,
32 /* output_channels_per_group */,
192 /* input pixel stride */,
32 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s93.data(), w93.data(), w94.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op15);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #15" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op15, xnn_delete_operator);
xnn_operator_t op16 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op16);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #16" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op16, xnn_delete_operator);
xnn_operator_t op17 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
32 /* input channels per group */,
192 /* output_channels_per_group */,
32 /* input pixel stride */,
192 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s95.data(), w95.data(), w96.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op17);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #17" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op17, xnn_delete_operator);
xnn_operator_t op18 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
192 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
192 /* input pixel stride */,
192 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s97.data(), w97.data(), w98.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op18);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #18" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op18, xnn_delete_operator);
xnn_operator_t op19 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
192 /* input channels per group */,
32 /* output_channels_per_group */,
192 /* input pixel stride */,
32 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s99.data(), w99.data(), w100.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op19);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #19" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op19, xnn_delete_operator);
xnn_operator_t op20 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op20);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #20" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op20, xnn_delete_operator);
xnn_operator_t op21 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
32 /* input channels per group */,
192 /* output_channels_per_group */,
32 /* input pixel stride */,
192 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s101.data(), w101.data(), w102.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op21);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #21" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op21, xnn_delete_operator);
xnn_operator_t op22 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 0 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
2 /* subsampling height */, 2 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
192 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
192 /* input pixel stride */,
192 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s103.data(), w103.data(), w104.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op22);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #22" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op22, xnn_delete_operator);
xnn_operator_t op23 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
192 /* input channels per group */,
64 /* output_channels_per_group */,
192 /* input pixel stride */,
64 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s105.data(), w105.data(), w106.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op23);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #23" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op23, xnn_delete_operator);
xnn_operator_t op24 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
64 /* input channels per group */,
384 /* output_channels_per_group */,
64 /* input pixel stride */,
384 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s107.data(), w107.data(), w108.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op24);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #24" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op24, xnn_delete_operator);
xnn_operator_t op25 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
384 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
384 /* input pixel stride */,
384 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s109.data(), w109.data(), w110.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op25);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #25" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op25, xnn_delete_operator);
xnn_operator_t op26 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
384 /* input channels per group */,
64 /* output_channels_per_group */,
384 /* input pixel stride */,
64 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s111.data(), w111.data(), w112.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op26);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #26" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op26, xnn_delete_operator);
xnn_operator_t op27 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op27);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #27" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op27, xnn_delete_operator);
xnn_operator_t op28 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
64 /* input channels per group */,
384 /* output_channels_per_group */,
64 /* input pixel stride */,
384 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s113.data(), w113.data(), w114.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op28);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #28" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op28, xnn_delete_operator);
xnn_operator_t op29 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
384 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
384 /* input pixel stride */,
384 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s115.data(), w115.data(), w116.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op29);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #29" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op29, xnn_delete_operator);
xnn_operator_t op30 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
384 /* input channels per group */,
64 /* output_channels_per_group */,
384 /* input pixel stride */,
64 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s117.data(), w117.data(), w118.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op30);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #30" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op30, xnn_delete_operator);
xnn_operator_t op31 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op31);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #31" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op31, xnn_delete_operator);
xnn_operator_t op32 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
64 /* input channels per group */,
384 /* output_channels_per_group */,
64 /* input pixel stride */,
384 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s119.data(), w119.data(), w120.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op32);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #32" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op32, xnn_delete_operator);
xnn_operator_t op33 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
384 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
384 /* input pixel stride */,
384 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s121.data(), w121.data(), w122.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op33);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #33" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op33, xnn_delete_operator);
xnn_operator_t op34 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
384 /* input channels per group */,
64 /* output_channels_per_group */,
384 /* input pixel stride */,
64 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s123.data(), w123.data(), w124.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op34);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #34" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op34, xnn_delete_operator);
xnn_operator_t op35 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op35);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #35" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op35, xnn_delete_operator);
xnn_operator_t op36 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
64 /* input channels per group */,
384 /* output_channels_per_group */,
64 /* input pixel stride */,
384 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s125.data(), w125.data(), w126.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op36);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #36" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op36, xnn_delete_operator);
xnn_operator_t op37 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
384 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
384 /* input pixel stride */,
384 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s127.data(), w127.data(), w128.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op37);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #37" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op37, xnn_delete_operator);
xnn_operator_t op38 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
384 /* input channels per group */,
96 /* output_channels_per_group */,
384 /* input pixel stride */,
96 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s129.data(), w129.data(), w130.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op38);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #38" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op38, xnn_delete_operator);
xnn_operator_t op39 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
96 /* input channels per group */,
576 /* output_channels_per_group */,
96 /* input pixel stride */,
576 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s131.data(), w131.data(), w132.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op39);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #39" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op39, xnn_delete_operator);
xnn_operator_t op40 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
576 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
576 /* input pixel stride */,
576 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s133.data(), w133.data(), w134.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op40);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #40" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op40, xnn_delete_operator);
xnn_operator_t op41 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
576 /* input channels per group */,
96 /* output_channels_per_group */,
576 /* input pixel stride */,
96 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s135.data(), w135.data(), w136.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op41);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #41" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op41, xnn_delete_operator);
xnn_operator_t op42 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op42);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #42" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op42, xnn_delete_operator);
xnn_operator_t op43 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
96 /* input channels per group */,
576 /* output_channels_per_group */,
96 /* input pixel stride */,
576 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s137.data(), w137.data(), w138.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op43);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #43" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op43, xnn_delete_operator);
xnn_operator_t op44 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
576 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
576 /* input pixel stride */,
576 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s139.data(), w139.data(), w140.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op44);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #44" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op44, xnn_delete_operator);
xnn_operator_t op45 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
576 /* input channels per group */,
96 /* output_channels_per_group */,
576 /* input pixel stride */,
96 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s141.data(), w141.data(), w142.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op45);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #45" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op45, xnn_delete_operator);
xnn_operator_t op46 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op46);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #46" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op46, xnn_delete_operator);
xnn_operator_t op47 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
96 /* input channels per group */,
576 /* output_channels_per_group */,
96 /* input pixel stride */,
576 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s143.data(), w143.data(), w144.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op47);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #47" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op47, xnn_delete_operator);
xnn_operator_t op48 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 0 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
2 /* subsampling height */, 2 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
576 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
576 /* input pixel stride */,
576 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s145.data(), w145.data(), w146.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op48);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #48" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op48, xnn_delete_operator);
xnn_operator_t op49 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
576 /* input channels per group */,
160 /* output_channels_per_group */,
576 /* input pixel stride */,
160 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s147.data(), w147.data(), w148.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op49);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #49" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op49, xnn_delete_operator);
xnn_operator_t op50 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
160 /* input channels per group */,
960 /* output_channels_per_group */,
160 /* input pixel stride */,
960 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s149.data(), w149.data(), w150.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op50);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #50" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op50, xnn_delete_operator);
xnn_operator_t op51 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
960 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
960 /* input pixel stride */,
960 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s151.data(), w151.data(), w152.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op51);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #51" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op51, xnn_delete_operator);
xnn_operator_t op52 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
960 /* input channels per group */,
160 /* output_channels_per_group */,
960 /* input pixel stride */,
160 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s153.data(), w153.data(), w154.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op52);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #52" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op52, xnn_delete_operator);
xnn_operator_t op53 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op53);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #53" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op53, xnn_delete_operator);
xnn_operator_t op54 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
160 /* input channels per group */,
960 /* output_channels_per_group */,
160 /* input pixel stride */,
960 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s155.data(), w155.data(), w156.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op54);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #54" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op54, xnn_delete_operator);
xnn_operator_t op55 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
960 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
960 /* input pixel stride */,
960 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s157.data(), w157.data(), w158.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op55);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #55" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op55, xnn_delete_operator);
xnn_operator_t op56 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
960 /* input channels per group */,
160 /* output_channels_per_group */,
960 /* input pixel stride */,
160 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s159.data(), w159.data(), w160.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op56);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #56" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op56, xnn_delete_operator);
xnn_operator_t op57 = nullptr;
status = xnn_create_add_nd_qs8(
-1 /* input1 zero point */, 0.5f /* input1 scale */,
-1 /* input2 zero point */, 0.5f /* input2 scale */,
-1 /* output zero point */, 1.0f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op57);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #57" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op57, xnn_delete_operator);
xnn_operator_t op58 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
160 /* input channels per group */,
960 /* output_channels_per_group */,
160 /* input pixel stride */,
960 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s161.data(), w161.data(), w162.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op58);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #58" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op58, xnn_delete_operator);
xnn_operator_t op59 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
1 /* top padding */, 1 /* right padding */,
1 /* bottom padding */, 1 /* left padding */,
3 /* kernel height */, 3 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
960 /* groups */,
1 /* input channels per group */,
1 /* output_channels_per_group */,
960 /* input pixel stride */,
960 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s163.data(), w163.data(), w164.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op59);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #59" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op59, xnn_delete_operator);
xnn_operator_t op60 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
960 /* input channels per group */,
320 /* output_channels_per_group */,
960 /* input pixel stride */,
320 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s165.data(), w165.data(), w166.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op60);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #60" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op60, xnn_delete_operator);
xnn_operator_t op61 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
320 /* input channels per group */,
1280 /* output_channels_per_group */,
320 /* input pixel stride */,
1280 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s167.data(), w167.data(), w168.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op61);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #61" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op61, xnn_delete_operator);
xnn_operator_t op62 = nullptr;
status = xnn_create_global_average_pooling_nwc_qs8(
1280 /* channels */, 1280 /* input stride */, 1280 /* output stride */,
-1 /* input zero point */, 0.5f /* input scale */,
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
&op62);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #62" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op62, xnn_delete_operator);
xnn_operator_t op63 = nullptr;
status = xnn_create_convolution2d_nhwc_qs8_qc8w(
0 /* top padding */, 0 /* right padding */,
0 /* bottom padding */, 0 /* left padding */,
1 /* kernel height */, 1 /* kernel width */,
1 /* subsampling height */, 1 /* subsampling width */,
1 /* dilation_height */, 1 /* dilation_width */,
1 /* groups */,
1280 /* input channels per group */,
1001 /* output_channels_per_group */,
1280 /* input pixel stride */,
1001 /* output pixel stride */,
-1 /* input zero point */, 0.5f /* input scale */,
s169.data(), w169.data(), w170.data(),
-1 /* output zero point */, 0.5f /* output scale */, -126 /* output min */, 126 /* output max */,
0 /* flags */,
nullptr,
nullptr,
&op63);
if (status != xnn_status_success) {
std::cerr << "failed to create operation #63" << std::endl;
return ExecutionPlan();
}
operators.emplace_back(op63, xnn_delete_operator);
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op0,
/*batch_size=*/1, /*input_height=*/224, /*input_width=*/224,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #0" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op1,
/*batch_size=*/1, /*input_height=*/112, /*input_width=*/112,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #1" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op2,
/*batch_size=*/1, /*input_height=*/112, /*input_width=*/112,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #2" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op3,
/*batch_size=*/1, /*input_height=*/112, /*input_width=*/112,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #3" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op4,
/*batch_size=*/1, /*input_height=*/112, /*input_width=*/112,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #4" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op5,
/*batch_size=*/1, /*input_height=*/56, /*input_width=*/56,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #5" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op6,
/*batch_size=*/1, /*input_height=*/56, /*input_width=*/56,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #6" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op7,
/*batch_size=*/1, /*input_height=*/56, /*input_width=*/56,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #7" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op8,
/*batch_size=*/1, /*input_height=*/56, /*input_width=*/56,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #8" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 56, 56, 24 };
const size_t b_shape[] = { 1, 56, 56, 24 };
status = xnn_reshape_add_nd_qs8(
op9,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #9" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op10,
/*batch_size=*/1, /*input_height=*/56, /*input_width=*/56,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #10" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op11,
/*batch_size=*/1, /*input_height=*/56, /*input_width=*/56,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #11" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op12,
/*batch_size=*/1, /*input_height=*/28, /*input_width=*/28,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #12" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op13,
/*batch_size=*/1, /*input_height=*/28, /*input_width=*/28,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #13" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op14,
/*batch_size=*/1, /*input_height=*/28, /*input_width=*/28,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #14" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op15,
/*batch_size=*/1, /*input_height=*/28, /*input_width=*/28,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #15" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 28, 28, 32 };
const size_t b_shape[] = { 1, 28, 28, 32 };
status = xnn_reshape_add_nd_qs8(
op16,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #16" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op17,
/*batch_size=*/1, /*input_height=*/28, /*input_width=*/28,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #17" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op18,
/*batch_size=*/1, /*input_height=*/28, /*input_width=*/28,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #18" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op19,
/*batch_size=*/1, /*input_height=*/28, /*input_width=*/28,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #19" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 28, 28, 32 };
const size_t b_shape[] = { 1, 28, 28, 32 };
status = xnn_reshape_add_nd_qs8(
op20,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #20" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op21,
/*batch_size=*/1, /*input_height=*/28, /*input_width=*/28,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #21" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op22,
/*batch_size=*/1, /*input_height=*/28, /*input_width=*/28,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #22" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op23,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #23" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op24,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #24" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op25,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #25" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op26,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #26" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 14, 14, 64 };
const size_t b_shape[] = { 1, 14, 14, 64 };
status = xnn_reshape_add_nd_qs8(
op27,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #27" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op28,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #28" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op29,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #29" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op30,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #30" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 14, 14, 64 };
const size_t b_shape[] = { 1, 14, 14, 64 };
status = xnn_reshape_add_nd_qs8(
op31,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #31" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op32,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #32" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op33,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #33" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op34,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #34" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 14, 14, 64 };
const size_t b_shape[] = { 1, 14, 14, 64 };
status = xnn_reshape_add_nd_qs8(
op35,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #35" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op36,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #36" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op37,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #37" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op38,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #38" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op39,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #39" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op40,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #40" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op41,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #41" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 14, 14, 96 };
const size_t b_shape[] = { 1, 14, 14, 96 };
status = xnn_reshape_add_nd_qs8(
op42,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #42" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op43,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #43" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op44,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #44" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op45,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #45" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 14, 14, 96 };
const size_t b_shape[] = { 1, 14, 14, 96 };
status = xnn_reshape_add_nd_qs8(
op46,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #46" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op47,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #47" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op48,
/*batch_size=*/1, /*input_height=*/14, /*input_width=*/14,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #48" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op49,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #49" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op50,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #50" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op51,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #51" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op52,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #52" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 7, 7, 160 };
const size_t b_shape[] = { 1, 7, 7, 160 };
status = xnn_reshape_add_nd_qs8(
op53,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #53" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op54,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #54" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op55,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #55" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op56,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #56" << std::endl;
return ExecutionPlan();
}
{
const size_t a_shape[] = { 1, 7, 7, 160 };
const size_t b_shape[] = { 1, 7, 7, 160 };
status = xnn_reshape_add_nd_qs8(
op57,
4, a_shape, 4, b_shape,
/*threadpool=*/threadpool);
}
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #57" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op58,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #58" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op59,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #59" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op60,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #60" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op61,
/*batch_size=*/1, /*input_height=*/7, /*input_width=*/7,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #61" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_global_average_pooling_nwc_qs8(
op62,
/*batch_size=*/1, 49 /* width */,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #62" << std::endl;
return ExecutionPlan();
}
status = xnn_reshape_convolution2d_nhwc_qs8_qc8w(
op63,
/*batch_size=*/1, /*input_height=*/1, /*input_width=*/1,
/*output_height_out=*/nullptr, /*output_width_out=*/nullptr,
/*threadpool=*/threadpool);
if (status != xnn_status_success) {
std::cerr << "failed to reshape operation #63" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op0,
/*input=*/v0.data(), /*output=*/v1.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #0" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op1,
/*input=*/v1.data(), /*output=*/v2.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #1" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op2,
/*input=*/v2.data(), /*output=*/v3.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #2" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op3,
/*input=*/v3.data(), /*output=*/v4.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #3" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op4,
/*input=*/v4.data(), /*output=*/v5.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #4" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op5,
/*input=*/v5.data(), /*output=*/v6.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #5" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op6,
/*input=*/v6.data(), /*output=*/v7.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #6" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op7,
/*input=*/v7.data(), /*output=*/v8.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #7" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op8,
/*input=*/v8.data(), /*output=*/v9.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #8" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op9,
v9.data() /* a */, v6.data() /* b */, /*output=*/v10.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #9" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op10,
/*input=*/v10.data(), /*output=*/v11.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #10" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op11,
/*input=*/v11.data(), /*output=*/v12.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #11" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op12,
/*input=*/v12.data(), /*output=*/v13.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #12" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op13,
/*input=*/v13.data(), /*output=*/v14.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #13" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op14,
/*input=*/v14.data(), /*output=*/v15.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #14" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op15,
/*input=*/v15.data(), /*output=*/v16.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #15" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op16,
v16.data() /* a */, v13.data() /* b */, /*output=*/v17.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #16" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op17,
/*input=*/v17.data(), /*output=*/v18.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #17" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op18,
/*input=*/v18.data(), /*output=*/v19.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #18" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op19,
/*input=*/v19.data(), /*output=*/v20.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #19" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op20,
v20.data() /* a */, v17.data() /* b */, /*output=*/v21.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #20" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op21,
/*input=*/v21.data(), /*output=*/v22.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #21" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op22,
/*input=*/v22.data(), /*output=*/v23.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #22" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op23,
/*input=*/v23.data(), /*output=*/v24.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #23" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op24,
/*input=*/v24.data(), /*output=*/v25.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #24" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op25,
/*input=*/v25.data(), /*output=*/v26.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #25" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op26,
/*input=*/v26.data(), /*output=*/v27.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #26" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op27,
v27.data() /* a */, v24.data() /* b */, /*output=*/v28.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #27" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op28,
/*input=*/v28.data(), /*output=*/v29.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #28" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op29,
/*input=*/v29.data(), /*output=*/v30.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #29" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op30,
/*input=*/v30.data(), /*output=*/v31.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #30" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op31,
v31.data() /* a */, v28.data() /* b */, /*output=*/v32.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #31" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op32,
/*input=*/v32.data(), /*output=*/v33.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #32" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op33,
/*input=*/v33.data(), /*output=*/v34.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #33" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op34,
/*input=*/v34.data(), /*output=*/v35.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #34" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op35,
v35.data() /* a */, v32.data() /* b */, /*output=*/v36.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #35" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op36,
/*input=*/v36.data(), /*output=*/v37.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #36" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op37,
/*input=*/v37.data(), /*output=*/v38.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #37" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op38,
/*input=*/v38.data(), /*output=*/v39.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #38" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op39,
/*input=*/v39.data(), /*output=*/v40.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #39" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op40,
/*input=*/v40.data(), /*output=*/v41.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #40" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op41,
/*input=*/v41.data(), /*output=*/v42.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #41" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op42,
v42.data() /* a */, v39.data() /* b */, /*output=*/v43.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #42" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op43,
/*input=*/v43.data(), /*output=*/v44.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #43" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op44,
/*input=*/v44.data(), /*output=*/v45.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #44" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op45,
/*input=*/v45.data(), /*output=*/v46.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #45" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op46,
v46.data() /* a */, v43.data() /* b */, /*output=*/v47.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #46" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op47,
/*input=*/v47.data(), /*output=*/v48.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #47" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op48,
/*input=*/v48.data(), /*output=*/v49.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #48" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op49,
/*input=*/v49.data(), /*output=*/v50.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #49" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op50,
/*input=*/v50.data(), /*output=*/v51.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #50" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op51,
/*input=*/v51.data(), /*output=*/v52.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #51" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op52,
/*input=*/v52.data(), /*output=*/v53.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #52" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op53,
v53.data() /* a */, v50.data() /* b */, /*output=*/v54.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #53" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op54,
/*input=*/v54.data(), /*output=*/v55.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #54" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op55,
/*input=*/v55.data(), /*output=*/v56.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #55" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op56,
/*input=*/v56.data(), /*output=*/v57.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #56" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_add_nd_qs8(
op57,
v57.data() /* a */, v54.data() /* b */, /*output=*/v58.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #57" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op58,
/*input=*/v58.data(), /*output=*/v59.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #58" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op59,
/*input=*/v59.data(), /*output=*/v60.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #59" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op60,
/*input=*/v60.data(), /*output=*/v61.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #60" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op61,
/*input=*/v61.data(), /*output=*/v62.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #61" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_global_average_pooling_nwc_qs8(
op62,
/*input=*/v62.data(), /*output=*/v63.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #62" << std::endl;
return ExecutionPlan();
}
status = xnn_setup_convolution2d_nhwc_qs8_qc8w(
op63,
/*input=*/v63.data(), /*output=*/v64.data());
if (status != xnn_status_success) {
std::cerr << "failed to setup operation #63" << std::endl;
return ExecutionPlan();
}
XNN_PRAGMA_CLANG("clang diagnostic push")
XNN_PRAGMA_CLANG("clang diagnostic ignored \"-Wpessimizing-move\"")
return operators;
XNN_PRAGMA_CLANG("clang diagnostic pop")
}
} // namespace models