blob: d9f0a8cc94205a4bac22dc1ca48303c360aa5a0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef THP_SERIALIZATION_INC
#define THP_SERIALIZATION_INC
#include <torch/csrc/generic/serialization.h>
#include <TH/THGenerateAllTypes.h>
#include <torch/csrc/generic/serialization.h>
#include <TH/THGenerateHalfType.h>
#include <torch/csrc/generic/serialization.h>
#include <TH/THGenerateBoolType.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
|