pytorch/torch/csrc/serialization.h
Natalia Gimelshein c9e898fef8 delete TH (#69929)
Summary:
Move TH<C>GenerateByteType includes into torch/csrc (the only place they are used), and we can remove TH folder altogether!
The only thing left in THC are includes left for bc compatibility.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/69929

Reviewed By: mruberry

Differential Revision: D33133013

Pulled By: ngimel

fbshipit-source-id: 78c87cf93d2d641631b0f71051ace318bf4ec3c1
2021-12-16 10:45:30 -08: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