[IE][VPU]: Implement HSwish layer with tests (#2775)

* Implement HSwish layer with tests
* Disable HSwish decomposition by a predicate
* Update vpu firmware
This commit is contained in:
Maksim Doronin
2020-10-28 00:38:10 +03:00
committed by GitHub
parent cabf8d8534
commit 07fbf93a0d
6 changed files with 47 additions and 3 deletions

View File

@@ -24,7 +24,8 @@ const std::map<ActivationTypes, std::vector<std::vector<float>>> activationTypes
{Gelu, {}},
{Mish, {}},
{SoftPlus, {}},
{Swish, {{0.05f}, {0.8f}, {1.0f}, {15.0f}}}
{Swish, {{0.05f}, {0.8f}, {1.0f}, {15.0f}}},
{HSwish, {}},
};
std::map<std::vector<size_t>, std::vector<std::vector<size_t>>> basic = {