description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid |
---|---|---|---|---|---|
Learn more about: Compiler Error C3493 |
Compiler Error C3493 |
11/04/2016 |
C3493 |
C3493 |
734b4257-12a3-436f-8488-c8c55ec81634 |
Compiler Error C3493
‘var’ cannot be implicitly captured because no default capture mode has been specified
The empty lambda expression capture, []
, specifies that the lambda expression does not explicitly or implicitly capture any variables.
To correct this error
-
Provide a default capture mode, or
-
Explicitly capture one or more variables.
Examples
The following example generates C3493 because it modifies an external variable but specifies the empty capture clause:
// C3493a.cpp int main() { int m = 55; [](int n) { m = n; }(99); // C3493 }
The following example resolves C3493 by specifying by-reference as the default capture mode.
// C3493b.cpp int main() { int m = 55; [&](int n) { m = n; }(99); }
See also
Lambda Expressions
Can you help me resolve this compiler error?
template<class T>
static void ComputeGenericDropCount(function<void(Npc *, int)> func)
{
T::ForEach([](T *what) {
Npc *npc = Npc::Find(what->sourceId);
if(npc)
func(npc, what->itemCount); // <<<<<<< ERROR HERE
// Error 1 error C3493: 'func' cannot be implicitly captured because no default capture mode has been specified
});
}
static void PreComputeNStar()
{
// ...
ComputeGenericDropCount<DropSkinningNpcCount>([](Npc *npc, int i) { npc->nSkinned += i; });
ComputeGenericDropCount<DropHerbGatheringNpcCount>([](Npc *npc, int i) { npc->nGathered += i; });
ComputeGenericDropCount<DropMiningNpcCount>([](Npc *npc, int i) { npc->nMined += i; });
}
I can’t understand why it’s giving me the error and I don’t know how to fix it. ComputeGenericDropCount(auto func)
doesn’t work either.
asked Nov 30, 2010 at 16:14
Andreas BoniniAndreas Bonini
43.5k29 gold badges121 silver badges156 bronze badges
1
You need to specify how to capture func
into the lambda.
[]
don’t capture anything
[&]
capture-by-reference
[=]
capture-by-value (copy)
T::ForEach([&](T *what) {
I’d also recommend that you should send func
by const reference.
static void ComputeGenericDropCount(const function<void(Npc *, int)>& func)
Smi
13.6k9 gold badges56 silver badges64 bronze badges
answered Nov 30, 2010 at 16:20
4
Содержание
- error C3493: ‘test_val’ cannot be implicitly captured because no default capture mode has been specified #44691
- Comments
- Environment
- Compiler errors C3400 Through C3499
- Error c3493 cannot be implicitly captured because no default capture mode has been specified
- Answered by:
- Question
- Error c3493 cannot be implicitly captured because no default capture mode has been specified
- Вопрос
- Ошибка компилятора C3493: «func» не может быть неявно захвачен, поскольку не указан режим захвата по умолчанию.
- 1 ответы
error C3493: ‘test_val’ cannot be implicitly captured because no default capture mode has been specified #44691
Regression of the day
Our Windows build failed today with the following compile error:
2Microsoft Visual Studio2019EnterpriseVCToolsMSVC14.26.28801binHostx64x64cl.exe» /TP -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DGOOGLE_GLOG_DLL_DECL=__declspec(dllimport) -DGOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport) -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DPROTOBUF_USE_DLLS -DTH_BLAS_MKL -DUSE_CUDA -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Iatensrc -I..atensrc -I. -I.. -I..cmake..third_partybenchmarkinclude -Icaffe2contribaten -I..third_partyonnx -Ithird_partyonnx -I..third_partyfoxi -Ithird_partyfoxi -Icaffe2..atensrc -Icaffe2..atensrcATen -I..torchcsrcapi -I..torchcsrcapiinclude -I..c10.. -Ithird_partyideepmkl-dnninclude -I..third_partyideepmkl-dnnsrc..include -I..c10cuda…. -I..cmake..third_partygoogletestgooglemockinclude -I..cmake..third_partygoogletestgoogletestinclude -I»C:Program Filesprotobufinclude» -I»C:Program Files (x86)IntelSWToolscompilers_and_librarieswindowsmklinclude» -I..third_party -I»C:Program Filesopencvinclude» -I..cmake..third_partyeigen -I»C:Program FilesPython38include» -I»C:Program FilesPython38libsite-packagesnumpycoreinclude» -I»C:Program Filespybind11include» -I»C:Program FilesNVIDIA GPU Computing ToolkitCUDAv11.0include» -I..third_partyideepmkl-dnninclude -I..third_partyideepinclude -I»C:Program Fileszlibinclude» -I»C:Program Filesgflagsinclude» -I»C:Program Filesgoogle-gloginclude» -I»C:Program FilesNVIDIA CorporationNvToolsExtinclude» -I..third_partygoogletestgoogletestinclude -I..third_partygoogletestgoogletest /EHsc /FS /GL /MP /arch:AVX2 /DGFLAGS_IS_A_DLL=1 /DPROTOBUF_USE_DLLS /DWIN32 /D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /w /w /bigobj -openmp:experimental -DNDEBUG -DUSE_FBGEMM -DUSE_VULKAN_WRAPPER -DHAVE_AVX_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj -std:c++14 /showIncludes /Fotest_jitCMakeFilestest_jit.dirtest_misc.cpp.obj /Fdtest_jitCMakeFilestest_jit.dir /FS -c ..testcppjittest_misc.cpp FAILED: test_jit/CMakeFiles/test_jit.dir/test_misc.cpp.obj «C:PROGRA
2Microsoft Visual Studio2019EnterpriseVCToolsMSVC14.26.28801binHostx64x64cl.exe» /TP -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DGOOGLE_GLOG_DLL_DECL=__declspec(dllimport) -DGOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport) -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DPROTOBUF_USE_DLLS -DTH_BLAS_MKL -DUSE_CUDA -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Iatensrc -I..atensrc -I. -I.. -I..cmake..third_partybenchmarkinclude -Icaffe2contribaten -I..third_partyonnx -Ithird_partyonnx -I..third_partyfoxi -Ithird_partyfoxi -Icaffe2..atensrc -Icaffe2..atensrcATen -I..torchcsrcapi -I..torchcsrcapiinclude -I..c10.. -Ithird_partyideepmkl-dnninclude -I..third_partyideepmkl-dnnsrc..include -I..c10cuda…. -I..cmake..third_partygoogletestgooglemockinclude -I..cmake..third_partygoogletestgoogletestinclude -I»C:Program Filesprotobufinclude» -I»C:Program Files (x86)IntelSWToolscompilers_and_librarieswindowsmklinclude» -I..third_party -I»C:Program Filesopencvinclude» -I..cmake..third_partyeigen -I»C:Program FilesPython38include» -I»C:Program FilesPython38libsite-packagesnumpycoreinclude» -I»C:Program Filespybind11include» -I»C:Program FilesNVIDIA GPU Computing ToolkitCUDAv11.0include» -I..third_partyideepmkl-dnninclude -I..third_partyideepinclude -I»C:Program Fileszlibinclude» -I»C:Program Filesgflagsinclude» -I»C:Program Filesgoogle-gloginclude» -I»C:Program FilesNVIDIA CorporationNvToolsExtinclude» -I..third_partygoogletestgoogletestinclude -I..third_partygoogletestgoogletest /EHsc /FS /GL /MP /arch:AVX2 /DGFLAGS_IS_A_DLL=1 /DPROTOBUF_USE_DLLS /DWIN32 /D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /w /w /bigobj -openmp:experimental -DNDEBUG -DUSE_FBGEMM -DUSE_VULKAN_WRAPPER -DHAVE_AVX_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj -std:c++14 /showIncludes /Fotest_jitCMakeFilestest_jit.dirtest_misc.cpp.obj /Fdtest_jitCMakeFilestest_jit.dir /FS -c ..testcppjittest_misc.cpp Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28806 for x64 Copyright (C) Microsoft Corporation. All rights reserved. ..testcppjittest_misc.cpp(1051): error C3493: ‘test_val’ cannot be implicitly captured because no default capture mode has been specified ..testcppjittest_misc.cpp(1060): error C3493: ‘test_val’ cannot be implicitly captured because no default capture mode has been specified ..testcppjittest_misc.cpp(1048): error C2440: ‘ ‘: cannot convert from ‘initializer list’ to ‘at::RecordFunctionCallback’ ..testcppjittest_misc.cpp(1062): note: No constructor could take the source type, or constructor overload resolution was ambiguous ..testcppjittest_misc.cpp(1048): error C2064: term does not evaluate to a function taking 2 arguments ..testcppjittest_misc.cpp(1077): error C3493: ‘test_val’ cannot be implicitly captured because no default capture mode has been specified ..testcppjittest_misc.cpp(1086): error C3493: ‘test_val’ cannot be implicitly captured because no default capture mode has been specified ..testcppjittest_misc.cpp(1074): error C2440: ‘ ‘: cannot convert from ‘initializer list’ to ‘at::RecordFunctionCallback’ ..testcppjittest_misc.cpp(1088): note: No constructor could take the source type, or constructor overload resolution was ambiguous ..testcppjittest_misc.cpp(1074): error C2064: term does not evaluate to a function taking 2 arguments ninja: build stopped: subcommand failed.»>
Environment
- PyTorch Version (e.g., 1.0): master
- OS (e.g., Linux): Win Server 2019
- How you installed PyTorch ( conda , pip , source): source
- Build command you used (if compiling from source): cmake+ninja+vs2019
- Python version: 3.8.5
- CUDA/cuDNN version: 11.0/8
The text was updated successfully, but these errors were encountered:
Источник
Compiler errors C3400 Through C3499
The articles in this section of the documentation explain a subset of the error messages that are generated by the compiler.
The Visual Studio compilers and build tools can report many kinds of errors and warnings. After an error or warning is found, the build tools may make assumptions about code intent and attempt to continue, so that more issues can be reported at the same time. If the tools make the wrong assumption, later errors or warnings may not apply to your project. When you correct issues in your project, always start with the first error or warning that’s reported, and rebuild often. One fix may make many subsequent errors go away.
To get help on a particular diagnostic message in Visual Studio, select it in the Output window and press the F1 key. Visual Studio opens the documentation page for that error, if one exists. You can also use the search tool at the top of the page to find articles about specific errors or warnings. Or, browse the list of errors and warnings by tool and type in the table of contents on this page.
Not every Visual Studio error or warning is documented. In many cases, the diagnostic message provides all of the information that’s available. If you landed on this page when you used F1 and you think the error or warning message needs additional explanation, let us know. You can use the feedback buttons on this page to raise a documentation issue on GitHub. If you think the error or warning is wrong, or you’ve found another problem with the toolset, report a product issue on the Developer Community site. You can also send feedback and enter bugs within the IDE. In Visual Studio, go to the menu bar and choose Help > Send Feedback > Report a Problem, or submit a suggestion by using Help > Send Feedback > Send a Suggestion.
You may find additional assistance for errors and warnings in Microsoft Learn Q&A forums. Or, search for the error or warning number on the Visual Studio C++ Developer Community site. You can also search Stack Overflow to find solutions.
For links to additional help and community resources, see Visual C++ Help and Community.
Источник
Error c3493 cannot be implicitly captured because no default capture mode has been specified
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
Visual C++ 2013 appears to produce one or more error messages when trying to use an integral constant expression inside a lambda, when it is defined outside the lambda. The following example, which is from section [expr.prim.lambda]/18 of Working Draft N3797.pdf of the C++ Standard, does not compile:
Visual C++ output:
error C2057: expected constant expression
error C2466: cannot allocate an array of constant size 0
error C2133: ‘arr’ : unknown size
The following does not compile either:
Visual C++ output:
error C3493: ‘N’ cannot be implicitly captured because no default capture mode has been specified
This looks like a serious limitation of Visual C++. The compiler bug was reported two years ago, 725780, by Сыроежка, but closed as » By Design». Is there any chance that the issue will still be reconsidered for the next release?
Kind regards, Niels
PS I concluded that this is indeed a compiler bug after having been informed about lambda’s at the ACCU General mailing list 🙂
Источник
Error c3493 cannot be implicitly captured because no default capture mode has been specified
Вопрос
Visual C++ 2013 appears to produce one or more error messages when trying to use an integral constant expression inside a lambda, when it is defined outside the lambda. The following example, which is from section [expr.prim.lambda]/18 of Working Draft N3797.pdf of the C++ Standard, does not compile:
Visual C++ output:
error C2057: expected constant expression
error C2466: cannot allocate an array of constant size 0
error C2133: ‘arr’ : unknown size
The following does not compile either:
Visual C++ output:
error C3493: ‘N’ cannot be implicitly captured because no default capture mode has been specified
This looks like a serious limitation of Visual C++. The compiler bug was reported two years ago, 725780, by Сыроежка, but closed as » By Design». Is there any chance that the issue will still be reconsidered for the next release?
Kind regards, Niels
PS I concluded that this is indeed a compiler bug after having been informed about lambda’s at the ACCU General mailing list 🙂
Источник
Ошибка компилятора C3493: «func» не может быть неявно захвачен, поскольку не указан режим захвата по умолчанию.
Можете ли вы помочь мне устранить эту ошибку компилятора?
Я не могу понять, почему это дает мне ошибку, и я не знаю, как ее исправить. ComputeGenericDropCount(auto func) тоже не работает.
1 ответы
Вам нужно указать, как снимать func в лямбду.
[] ничего не снимай
[&] захват по ссылке
[=] по значению (копия)
Я также рекомендую вам отправить func по константной ссылке.
ответ дан 31 дек ’14, 18:12
Это не работает и дает мне ту же ошибку; также я думал, что [] означает «ничего не захватить»; [&] означает «фиксировать все повышенные значения по ссылке, [*] означает «захватить все повышающие значения копированием» и т. д. Но я думаю, что это влияет только на то, как фиксируются повышающие значения, то есть влияет только на код внутри лямбда — Томас Бонини
Вам нужно захватить func, чтобы использовать его внутри лямбда, что вы и делаете. Я не понимаю, как вы могли получить такую же ошибку. Я сам попробую, когда вернусь домой. — Ронаг
Извините! Я добавил & к неправильным лямбдам, обратные вызовы от ComputeGenericDropCount , Вместо того, ForEach , как вы сказали. Теперь все имеет смысл: конечно, нужно было уметь записывать функции !! Спасибо еще раз. — Томас Бонини
& это то, что мне нужно. Спасибо — РассветПесня
Не тот ответ, который вы ищете? Просмотрите другие вопросы с метками c++ visual-studio visual-studio-2010 c++11 compiler-errors or задайте свой вопрос.
Источник
- Remove From My Forums
-
Question
-
Hi,
I ran in to a problem with Visual Studio 2010 Beta 2 and I think it is a bug.
The error states that ‘end’ cannot be captured, except that endl is not a variable, it is just std::endl from iostream. I do not have a problem with std::cout or when I reorder the using declarations to put std::cout at the end of the list. I am getting a compiler error 3493 on line 16 of the following code:
#include <vector> #include <iostream> #include <algorithm> void printNumbersOne( const std::vector<int>& numbers ) { std::for_each( numbers.begin(), numbers.end(), [](int number) { std::cout << number << std::endl; } ); } void printNumbersTwo( const std::vector<int>& numbers ) { using std::for_each; using std::cout; using std::endl; for_each( numbers.begin(), numbers.end(), [](int number) { cout << number << endl; } ); // <---- Error here } int main() { std::vector<int> numbers; numbers.push_back( 1 ); numbers.push_back( 2 ); numbers.push_back( 3 ); printNumbersOne( numbers ); printNumbersTwo( numbers ); return 0; }
——————————-
Here’s VS2010 info:
Microsoft Visual Studio 2010
Version 10.0.21006.1 B2Rel
Microsoft .NET Framework
Version 4.0.21006 B2Rel
Installed Version: Enterprise
My blog: http://msujaws.wordpress.com
Answers
-
-
Marked as answer by
Monday, March 1, 2010 3:05 AM
-
Marked as answer by
I am trying to follow this example to use a lambda with
remove_if
. Here is my attempt:int flagId = _ChildToRemove->getId(); auto new_end = std::remove_if(m_FinalFlagsVec.begin(), m_FinalFlagsVec.end(), [](Flag& device) { return device.getId() == flagId; }); m_FinalFlagsVec.erase(new_end, m_FinalFlagsVec.end());
but this fails to compile:
error C3493: 'flagId' cannot be implicitly captured because no default capture mode has been specified
How can I include the outside parameter,
flagId
, in the lambda expression?
Answer
You must specify flagId
to be captured. That is what the []
part is for. Right now it doesn’t capture anything. You can capture (more info) by value or by reference. Something like:
auto new_end = std::remove_if(m_FinalFlagsVec.begin(), m_FinalFlagsVec.end(),
[&flagId](Flag& device)
{ return device.getId() == flagId; });
Which captures by reference. If you want to capture by const value, you can do this:
auto new_end = std::remove_if(m_FinalFlagsVec.begin(), m_FinalFlagsVec.end(),
[flagId](Flag& device)
{ return device.getId() == flagId; });
Or by mutable value:
auto new_end = std::remove_if(m_FinalFlagsVec.begin(), m_FinalFlagsVec.end(),
[flagId](Flag& device) mutable
{ return device.getId() == flagId; });
Sadly there is no straightforward way to capture by const reference. I personally would just declare a temporary const ref and capture that by ref:
const auto& tmp = flagId;
auto new_end = std::remove_if(m_FinalFlagsVec.begin(), m_FinalFlagsVec.end(),
[&tmp](Flag& device)
{ return device.getId() == tmp; }); //tmp is immutable
Attribution
Source : Link , Question Author : user63898 , Answer Author : AndyG
Posted by: Zeeshan Amjad | March 12, 2014
We already saw an example of doing recursion with C++ lambda function here. Here we saw that how can we use std::function to store the function pointer to call lambda function recursively, because lambda function doesn’t have any name.
Things are bit interesting in case of mutual recursion. In case of mutual recursion there are more than one functions calls each other. It means that now we need not one but two function pointers stored in C++ wrapper.
Let’s start with our first attempt to create a simple even and odd function.
Here is a simple equation of mutual recursion.
In first step let’s create two wrappers for function.
Code Snippet
std::function<bool(int)> isEven;
std::function<bool(int)> isOdd;
Now lets create a function for this.
Code Snippet
isEven = [&isEven](int n) -> bool
{
if (0 == n)
return true;
else
return isOdd(n – 1);
};
isOdd = [&isOdd](int n) -> bool
{
if (0 == n)
return false;
else
return isEven(n – 1);
};
And we got the following error message.
error C3493: ‘isOdd’ cannot be implicitly captured because no default capture mode has been specified
error C3493: ‘isEven’ cannot be implicitly captured because no default capture mode has been specified
Now we have to specify the other lambda function in the lambda capture. Here is a modified version of the lambda function which implement mutual recursion.
Code Snippet
std::function<bool(int)> isEven;
std::function<bool(int)> isOdd;
isEven = [&isEven, &isOdd](int n) -> bool
{
if (0 == n)
return true;
else
return isOdd(n – 1);
};
isOdd = [&isOdd, &isEven](int n) -> bool
{
if (0 == n)
return false;
else
return isEven(n – 1);
};
Let’s see another example of mutual recursion. Here is a mutual recursive function for baby and adult rabbit pair in fibonacci sequence.
Here is a C++ lambda function of this.
Code Snippet
std::function<int(int no)> babyPair;
std::function<int(int no)> adultPair;
babyPair = [&babyPair, &adultPair](int no) -> int
{
if (no == 1)
return 1;
else
return adultPair(no – 1);
};
adultPair = [&adultPair, &babyPair](int no) -> int
{
if (no == 1)
return 0;
else
return adultPair(no – 1) + babyPair(no – 1);
};
Можете ли вы помочь мне решить эту ошибку компилятора?
template<class T>
static void ComputeGenericDropCount(function<void(Npc *, int)> func)
{
T::ForEach([](T *what) {
Npc *npc = Npc::Find(what->sourceId);
if(npc)
func(npc, what->itemCount); // <<<<<<< ERROR HERE
// Error 1 error C3493: 'func' cannot be implicitly captured because no default capture mode has been specified
});
}
static void PreComputeNStar()
{
// ...
ComputeGenericDropCount<DropSkinningNpcCount>([](Npc *npc, int i) { npc->nSkinned += i; });
ComputeGenericDropCount<DropHerbGatheringNpcCount>([](Npc *npc, int i) { npc->nGathered += i; });
ComputeGenericDropCount<DropMiningNpcCount>([](Npc *npc, int i) { npc->nMined += i; });
}
Я не могу понять, почему это дает мне ошибку, и я не знаю, как это исправить. ComputeGenericDropCount(auto func)
тоже не работает.
30 нояб. 2010, в 17:41
Поделиться
Источник
1 ответ
Вам нужно указать, как захватить func
в лямбда.
[]
ничего не записывать
[&]
захват по ссылке
[=]
захват по значению (копия)
T::ForEach([&](T *what) {
Я также рекомендую вам отправить func
по ссылке const.
static void ComputeGenericDropCount(const function<void(Npc *, int)>& func)
ronag
30 нояб. 2010, в 16:40
Поделиться
Ещё вопросы
- 1Могут ли инструменты разработки Firefox уловить все ошибки?
- 0const char * & как параметр функции C ++
- 0Как пройти цикл в JavaScript
- 0Хранить историю пользователя на одном сайте
- 1Datatables, установка ссылки с переменной URL из нужного столбца, полученного из json
- 1Приложение не может выполнить вход с помощью Office 365 API при развертывании для тестирования
- 1Как агрегировать расширенные значения — python — pandas
- 0Дизайн материала не работает с угловыми состояниями
- 1Преобразование столбца панд в определенные пользователем номера недель
- 1Dicom UnCompression от Dcm2dcm
- 0Выборочное управление запуском угловых часов при сравнении объекта
- 0Как применить темы к HTML внутри метода append ()
- 0Drupal игнорирует разрешение сервера и отображает ошибку разрешения
- 0незаконные действия в блокноте ++
- 1Вычислить среднее значение для каждой строки тензора в TensorFlow
- 1Почему я не могу разобрать вложение javamail с помощью toString?
- 0Handsontable экономя только 250 строк
- 0Доступ к элементам, помещенным в массив
- 0MonoDevelop (Ubuntu) и MySql
- 0показывает Jquery UI DatePicker по нажатию asp: linkbutton
- 0Как распечатать содержимое очереди
- 0Chrome favicon.ico GET запрос
- 0Проверка JS, перейдите по ссылке, если оба входа верны
- 1Привязка модели слушателя событий слоя карт Google Ionic + Angular2
- 1Android — отправка данных из действия в службу
- 1Вычислить несколько входных данных маски Yii2 с несколькими идентификаторами
- 1Как обеспечить доступ методов действия для конкретного пользователя в контроллере в asp.net mvc
- 0JavaScript-DHTML: доступ к значениям объекта
- 0Функция сортировки массива самосортировки в пользовательском классе C ++
- 0заменить все ссылки, содержащие текст «редактировать» с изображением, за исключением определенного класса
- 0PayPal не возвращает переменные
- 0Сбой при инициализации видео opencv
- 1Java Вычитаем линии
- 1Разница забитых и пропущенных голов в Кубке Мира 2018 года
- 1Как зациклить эту функцию после последнего значения
- 0Как использовать модель (дерево решений) в C / C ++, которая обучалась в R?
- 1Сделайте двойной показ 0,00 как 0,00 в Java
- 1Comapring два объекта не вызывает метод CompareTo
- 0Выберите отдельные значения в одну результирующую запись в виде списка через запятую
- 0Угловая директива Предварительная загрузка
- 0Фальконовые отношения не работают
- 1Простой выходной вопрос
- 1Обновление списка
- 1Как эффективно сопоставить результат String с различными параметрами?
- 0Как я должен реализовать эти векторы в C ++? Это относится к широте и долготе с векторами
- 0Невозможно загрузить изображения, используя SDL_LoadBMP
- 0Получение номера ручки открытой на поток
- 0Проблемы с очисткой класса с помощью removeClass
- 0Выбор из таблиц с отношениями многие ко многим
- 1Как десериализовать JSON-Object?