| 72 | const HostTensorND& value, const std::string& name); |
| 73 | |
| 74 | static inline std::string dump_tensor( |
| 75 | const DeviceTensorND& value, const std::string& name) { |
| 76 | return dump_tensor(HostTensorND{}.copy_from(value).sync(), name); |
| 77 | } |
| 78 | |
| 79 | //! write the value of a string to file |
| 80 | MGE_WIN_DECLSPEC_FUC void write_to_file( |