get error when run charRNN with vs2013update5
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- build-system
Research direction
Start by reproducing the Visual Studio 2013 Update 5 build for example/charRNN.cpp and inspect the transpose call at line 101 alongside the other reported errors. Compare the available transpose signature with this one-argument call and verify that the example builds successfully without the reported errors.
Written by the indexing model from the issue text.
Description
1>..\..\..\example\charRNN.cpp(101): error C2661: 'mxnet::cpp::transpose' : no overloaded function takes 1 arguments
1>..\..\..\example\charRNN.cpp(149): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
1>..\..\..\example\charRNN.cpp(153): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
1>..\..\..\example\charRNN.cpp(202): warning C4267: 'return' : conversion from 'size_t' to 'int', possible loss of data
1>..\..\..\example\charRNN.cpp(288): error C2664: 'std::tuple<std::unordered_map<wchar_t,mx_float,std::hash<wchar_t>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::vector<wchar_t,std::allocator<wchar_t>>>::tuple(const std::tuple<std::unordered_map<_Kty,_Ty,std::hash<wchar_t>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::vector<wchar_t,std::allocator<wchar_t>>> &)' : cannot convert argument 1 from 'std::unordered_map<wchar_t,mx_float,std::hash<wchar_t>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' to 'std::allocator_arg_t'
1> with
1> [
1> _Kty=wchar_t
1> , _Ty=mx_float
1> ]
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>..\..\..\example\charRNN.cpp(349): warning C4305: 'initializing' : truncation from 'double' to 'mx_float'
1>..\..\..\example\charRNN.cpp(372): warning C4305: 'argument' : truncation from 'double' to 'float'
1>..\..\..\example\charRNN.cpp(376): warning C4305: 'initializing' : truncation from 'double' to 'mx_float'
1>..\..\..\example\charRNN.cpp(377): warning C4305: 'initializing' : truncation from 'double' to 'mx_float'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
maybe the transpose op should add a arg about axes?
how can fixed it?
or maybe vs2015 don't have this problem...?
but i can't find a transpose function with only one arg exactly
- Dominant language
- C++
- Stars
- 113
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dmlc/MXNet.cpp
-
batch scoring in cpp Open
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
GPU NDarray memory Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100