[IE][VPU]: Workaround to support parameter Beta for layer Swish (#2205)

* Workaround to full support Swish layer. It is faster than native Swish for now.
This commit is contained in:
Roman Vyunov (Intel)
2020-09-15 14:39:27 +03:00
committed by GitHub
parent a0938a92d4
commit 9e8b42ff95
2 changed files with 21 additions and 3 deletions

View File

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