mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Fix a bug in ExternalDataInfo
This commit is contained in:
parent
cfb08c4848
commit
ab734ec5a6
1 changed files with 2 additions and 4 deletions
|
|
@ -11,10 +11,8 @@ namespace onnxruntime {
|
|||
class ExternalDataInfo {
|
||||
private:
|
||||
std::basic_string<ORTCHAR_T> rel_path_;
|
||||
//-1 means doesn't exist
|
||||
ptrdiff_t offset_;
|
||||
//-1 means doesn't exist
|
||||
ptrdiff_t length_;
|
||||
ptrdiff_t offset_ = 0;
|
||||
ptrdiff_t length_ = 0;
|
||||
std::string checksum_;
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in a new issue