mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-25 02:50:42 +00:00
* Remove ostream operator<< definitions for TensorShapeProto and TensorProto as they clash with ONNX definitions in onnx/defs/printer.h/cc. Currently printer.h (unnecessarily) pulls in a number of other ONNX headers which causes naming clashes with parts of ORT. It is also excluded in a minimal build. Instead convert the onnx::TensorShapeProto to onnxruntime::TensorShape so we use the existing ostream operator<< for TensorShape. Make GetTensorShapeFromTensorProto consistent with GetTensorShapeFromTensorShapeProto so both return a TensorShape (as the name implies). |
||
|---|---|---|
| .. | ||
| include | ||
| checkpoint.cc | ||
| checkpoint_property.cc | ||
| lr_scheduler.cc | ||
| module.cc | ||
| onnxruntime_training_c_api.cc | ||
| optimizer.cc | ||
| training_session.cc | ||
| utils.cc | ||