| 699 | } |
| 700 | |
| 701 | string TRT_ShapedWeights::DebugString() const { |
| 702 | return StrCat("TRT_ShapedWeights(shape=", convert::DebugString(shape_), |
| 703 | ", type=", convert::DebugString(type_), |
| 704 | ", values=", reinterpret_cast<uintptr_t>(GetValues()), ")"); |
| 705 | } |
| 706 | |
| 707 | TRT_TensorOrWeights::TRT_TensorOrWeights(ITensorProxyPtr tensor) |
| 708 | : tensor_proxy_ptr_(tensor), initialized_(true), is_tensor_(true) {} |