diff --git a/cmake/external/onnx_protobuf.natvis b/cmake/external/onnx_protobuf.natvis
index 571d0e1650..014cfb9370 100644
--- a/cmake/external/onnx_protobuf.natvis
+++ b/cmake/external/onnx_protobuf.natvis
@@ -92,9 +92,9 @@
- _impl_.strings_
- _impl_.t_
- _impl_.tensors_
- - _impl_.t_
+ - _impl_.g_
- _impl_.graphs_
- - _impl_.t_
+ - _impl_.tp_
- _impl_.type_protos_
- _impl_.sparse_tensor_
- _impl_.sparse_tensors_
@@ -239,7 +239,7 @@
- {{ begin={ begin_ }, end={ end_ } }}
+ {{ begin={ _impl_.begin_ }, end={ _impl_.end_ } }}
@@ -276,7 +276,7 @@
- _impl_.uint64_data_
- _impl_.double_data_
- _impl_.string_data_
- - (std::string*)(_impl_.raw_data_.tagged_ptr_)
+ - _impl_.raw_data_.tagged_ptr_
- (TensorProto_DataLocation) _impl_.data_location_
- _impl_.external_data_
- _has_raw_data()