error: ‘class dmlc::Stream’ has no member named ‘WriteArray’
strm->WriteArray(tensor->shape, ndim);
error: ‘DMLC_IO_NO_ENDIAN_SWAP’ was not declared in this scope
if (DMLC_IO_NO_ENDIAN_SWAP &&
error: ‘ByteSwap’ is not a member of ‘dmlc’
dmlc::ByteSwap(dmlc::BeginPtr(bytes), type_bytes, num_elems);
error: ‘class dmlc::Stream’ has no member named ‘ReadArray’
CHECK(strm->ReadArray(&shape[0], ndim))
...
error: ‘class dmlc::Stream’ has no member named ‘WriteArray’ strm->WriteArray(tensor->shape, ndim); error: ‘DMLC_IO_NO_ENDIAN_SWAP’ was not declared in this scope if (DMLC_IO_NO_ENDIAN_SWAP && error: ‘ByteSwap’ is not a member of ‘dmlc’ dmlc::ByteSwap(dmlc::BeginPtr(bytes), type_bytes, num_elems); error: ‘class dmlc::Stream’ has no member named ‘ReadArray’ CHECK(strm->ReadArray(&shape[0], ndim)) ...