pytorch/torch/csrc/serialization.h
anjali411 1f09f7ea44 Python API for Complex Storage and storage copy logic (#35771)
Summary:
Following up on this: https://github.com/pytorch/pytorch/pull/35851 cross dtype storage copy is not being used internally, so I have not included cross dtype copy for complex.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35771

Differential Revision: D21319650

Pulled By: anjali411

fbshipit-source-id: 07c72996ee598eba0cf401ad61534494d6f5b5b3
2020-05-01 11:47:22 -07:00

29 lines
709 B
C++

#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/THGenerateComplexTypes.h>
#include <torch/csrc/generic/serialization.h>
#include <TH/THGenerateHalfType.h>
#include <torch/csrc/generic/serialization.h>
#include <TH/THGenerateBoolType.h>
#include <torch/csrc/generic/serialization.h>
#include <TH/THGenerateBFloat16Type.h>
#include <torch/csrc/generic/serialization.h>
#include <TH/THGenerateQTypes.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