MCPcopy Create free account
hub / github.com/ml-explore/mlx / deserialize_tuple

Function deserialize_tuple

mlx/export.cpp:222–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221template <typename T, std::size_t... I>
222decltype(auto) deserialize_tuple(Reader& is, std::index_sequence<I...>) {
223 return T{deserialize<std::tuple_element_t<I, T>>(is)...};
224};
225
226void serialize(Writer& os, const Stream& s) {
227 serialize(os, s.index);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected