我对R代码有疑问: -我有此代码行
mx.exec.update.arg.arrays(exec_D, arg.arrays = list(data=D_values_fake,label=mx.nd.array(rep(0, batch_size))), match.name=TRUE)
exec_D包含:
C++ object <00000000145f0e50> of class 'MXExecutor' <00000000138b30a0>
arg.arrays包含:
$ {
data
$data
$softmaxoutput0_output
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [, 13] [,14] [,15] [,16] [,17] [,18] [,19] [,20] [,21] [,22] [,23] [,24] [,25] [,26] [,27] [,28] [,29] [,30] [1,] 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1个 [,31] [,32] [,33] [,34] [,35] [,36] [,37] [,38] [,39] [,40] [,41] [,42] [, 43] [,44] [,45] [,46] [,47] [,48] [,49] [,50] [,51] [,52] [,53] [,54] [,55] [,56] [,57] [,58] [1,] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 [,59] [,60] [,61] [,62] [,63] [,64] [1,] 1 1 1 1 1 1$ label [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
但是运行此行时出现此错误:
exec $ update.arg.arrays(arg.arrays,match.name,skip.null)中的错误:
需要一个外部指针:[type = list]。