From 21beebd1e72e98e1bf1a10faebc70ee193ca7d0d Mon Sep 17 00:00:00 2001 From: rajh619 <30085127+rajh619@users.noreply.github.com> Date: Sun, 24 Jun 2018 21:35:10 +0530 Subject: [PATCH] Windows VS2015 Compile error - 'conversion from 'double' to 'float' requires a narrowing conversion' (#1329) --- nnvm/include/nnvm/top/nn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nnvm/include/nnvm/top/nn.h b/nnvm/include/nnvm/top/nn.h index 0e0b03a72ebb..69d49cd99696 100644 --- a/nnvm/include/nnvm/top/nn.h +++ b/nnvm/include/nnvm/top/nn.h @@ -349,7 +349,7 @@ struct MultiBoxTransformLocParam : public dmlc::Parameter{0.1, 0.1, 0.2, 0.2}) + DMLC_DECLARE_FIELD(variances).set_default(Tuple({0.1f, 0.1f, 0.2f, 0.2f})) .describe("Variances to be decoded from box regression output."); } };