pytorch/torch/csrc/serialization.h
PyTorch MergeBot 821c711baf Revert "Move THPStorage definitions out of torch/csrc/generic (#78032)"
This reverts commit f012152836.

Reverted https://github.com/pytorch/pytorch/pull/78032 on behalf of https://github.com/suo due to This broke windows binary builds, see: f012152836
2022-05-24 16:37:35 +00:00

14 lines
301 B
C++

#ifndef THP_SERIALIZATION_INC
#define THP_SERIALIZATION_INC
#include <torch/csrc/generic/serialization.h>
#include <torch/csrc/THGenerateByteType.h>
template <class io>
void doRead(io fildes, void* buf, size_t nbytes);
template <class io>
void doWrite(io fildes, void* buf, size_t nbytes);
#endif