mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
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
14 lines
301 B
C++
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
|