Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2017 22:24
Show Gist options
  • Save anonymous/278a490dc17e1ea95a57a23e0f26f92b to your computer and use it in GitHub Desktop.
Save anonymous/278a490dc17e1ea95a57a23e0f26f92b to your computer and use it in GitHub Desktop.
In file included from src/io/./iter_batchloader.h:16:0,
from src/io/io.cc:7:
src/io/././inst_vector.h:157:46: error: expected class-name before ‘{’ token
class TBlobContainer : public mshadow::TBlob {
^
src/io/././inst_vector.h:166:30: error: ‘TShape’ in namespace ‘mshadow’ does not name a type
void resize(const mshadow::TShape &shape, int type_flag) {
^
src/io/././inst_vector.h: In constructor ‘mxnet::io::TBlobContainer::TBlobContainer()’:
src/io/././inst_vector.h:160:21: error: expected class-name before ‘(’ token
: mshadow::TBlob(), tensor_container_(nullptr) {}
^
src/io/././inst_vector.h:160:21: error: expected ‘{’ before ‘(’ token
In file included from /home/ubuntu/src/incubator-mxnet/dmlc-core/include/dmlc/./io.h:14:0,
from /home/ubuntu/src/incubator-mxnet/dmlc-core/include/dmlc/data.h:14,
from include/mxnet/io.h:9,
from src/io/io.cc:3:
src/io/././inst_vector.h: In member function ‘void mxnet::io::TBlobContainer::resize(const int&, int)’:
src/io/././inst_vector.h:168:22: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘type_flag_’
CHECK_EQ(this->type_flag_, type_flag);
^
/home/ubuntu/src/incubator-mxnet/dmlc-core/include/dmlc/././logging.h:93:61: note: in definition of macro ‘CHECK_BINARY_OP’
if (dmlc::LogCheckError _check_err = dmlc::LogCheck##name(x, y)) \
^
src/io/././inst_vector.h:168:7: note: in expansion of macro ‘CHECK_EQ’
CHECK_EQ(this->type_flag_, type_flag);
^
In file included from src/io/./iter_batchloader.h:16:0,
from src/io/io.cc:7:
src/io/././inst_vector.h:169:13: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘shape_’
this->shape_ = shape;
^
src/io/././inst_vector.h:172:13: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘type_flag_’
this->type_flag_ = type_flag;
^
src/io/././inst_vector.h:173:13: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘shape_’
this->shape_ = shape;
^
src/io/././inst_vector.h:176:11: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘stride_’
this->stride_ = shape_[shape_.ndim() - 1];
^
src/io/././inst_vector.h:176:21: error: ‘shape_’ was not declared in this scope
this->stride_ = shape_[shape_.ndim() - 1];
^
In file included from /home/ubuntu/src/incubator-mxnet/dmlc-core/include/dmlc/./io.h:14:0,
from /home/ubuntu/src/incubator-mxnet/dmlc-core/include/dmlc/data.h:14,
from include/mxnet/io.h:9,
from src/io/io.cc:3:
src/io/././inst_vector.h: In member function ‘void mxnet::io::TBlobContainer::create()’:
src/io/././inst_vector.h:182:20: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘dev_mask_’
CHECK_EQ(this->dev_mask_, mshadow::cpu::kDevMask);
^
/home/ubuntu/src/incubator-mxnet/dmlc-core/include/dmlc/././logging.h:93:61: note: in definition of macro ‘CHECK_BINARY_OP’
if (dmlc::LogCheckError _check_err = dmlc::LogCheck##name(x, y)) \
^
src/io/././inst_vector.h:182:5: note: in expansion of macro ‘CHECK_EQ’
CHECK_EQ(this->dev_mask_, mshadow::cpu::kDevMask);
^
In file included from /home/ubuntu/src/incubator-mxnet/mshadow/mshadow/tensor.h:16:0,
from include/mxnet/./base.h:13,
from include/mxnet/io.h:15,
from src/io/io.cc:3:
src/io/././inst_vector.h:183:31: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
switch (type) { \
^
src/io/././inst_vector.h:185:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:186:9: error: ‘dptr_’ was not declared in this scope
dptr_ = tensor_container->dptr_;
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:185:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:186:9: error: ‘dptr_’ was not declared in this scope
dptr_ = tensor_container->dptr_;
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:185:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:186:9: error: ‘dptr_’ was not declared in this scope
dptr_ = tensor_container->dptr_;
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:185:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:186:9: error: ‘dptr_’ was not declared in this scope
dptr_ = tensor_container->dptr_;
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:185:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:186:9: error: ‘dptr_’ was not declared in this scope
dptr_ = tensor_container->dptr_;
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:185:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:186:9: error: ‘dptr_’ was not declared in this scope
dptr_ = tensor_container->dptr_;
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:185:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:186:9: error: ‘dptr_’ was not declared in this scope
dptr_ = tensor_container->dptr_;
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:183:31: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
LOG(FATAL) << "Unknown type enum " << type; \
^
src/io/././inst_vector.h: In member function ‘void mxnet::io::TBlobContainer::resize()’:
src/io/././inst_vector.h:191:31: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
switch (type) { \
^
src/io/././inst_vector.h:194:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:194:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:194:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:194:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:194:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:194:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:194:50: error: ‘shape_’ was not declared in this scope
tensor_container->Resize(mshadow::Shape1(shape_.Size()));
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/././inst_vector.h:191:31: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
LOG(FATAL) << "Unknown type enum " << type; \
^
src/io/././inst_vector.h: In member function ‘void mxnet::io::TBlobContainer::release()’:
src/io/././inst_vector.h:198:31: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
switch (type) { \
^
src/io/././inst_vector.h:198:31: error: ‘class mxnet::io::TBlobContainer’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
LOG(FATAL) << "Unknown type enum " << type; \
^
src/io/./iter_batchloader.h: In member function ‘virtual bool mxnet::io::BatchLoader::Next()’:
src/io/./iter_batchloader.h:84:38: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
switch (type) { \
^
src/io/./iter_batchloader.h:86:24: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:24: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:24: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:24: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:24: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:24: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:24: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:84:38: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
LOG(FATAL) << "Unknown type enum " << type; \
^
src/io/./iter_batchloader.h:106:42: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
switch (type) { \
^
src/io/./iter_batchloader.h:108:28: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:28: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:28: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:28: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:28: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:28: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:28: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘get’
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ‘,’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before ‘>’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ‘)’ token
data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
{__VA_ARGS__} \
^
src/io/./iter_batchloader.h:106:42: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘type_flag_’
MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
^
/home/ubuntu/src/incubator-mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro ‘MSHADOW_TYPE_SWITCH’
LOG(FATAL) << "Unknown type enum " << type; \
^
In file included from src/io/io.cc:7:0:
src/io/./iter_batchloader.h: In member function ‘void mxnet::io::BatchLoader::InitData(const mxnet::DataInst&)’:
src/io/./iter_batchloader.h:159:71: error: no matching function for call to ‘mxnet::io::TBlobContainer::resize(mshadow::Shape<1>, int&)’
data_[i].resize(mshadow::Shape1(dst_shape.Size()), src_type_flag);
^
In file included from src/io/./iter_batchloader.h:16:0,
from src/io/io.cc:7:
src/io/././inst_vector.h:166:8: note: candidate: void mxnet::io::TBlobContainer::resize(const int&, int)
void resize(const mshadow::TShape &shape, int type_flag) {
^
src/io/././inst_vector.h:166:8: note: no known conversion for argument 1 from ‘mshadow::Shape<1>’ to ‘const int&’
src/io/././inst_vector.h:190:8: note: candidate: void mxnet::io::TBlobContainer::resize()
void resize() {
^
src/io/././inst_vector.h:190:8: note: candidate expects 0 arguments, 2 provided
In file included from src/io/io.cc:7:0:
src/io/./iter_batchloader.h:161:42: error: ‘__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}’ has no member named ‘dptr_’
out_.data.push_back(TBlob(data_[i].dptr_, dst_shape, cpu::kDevMask, src_type_flag));
^
Makefile:201: recipe for target 'build/src/io/io.o' failed
make: *** [build/src/io/io.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment