|
| Storage (c10::intrusive_ptr< StorageImpl > ptr) |
|
| Storage (caffe2::TypeMeta data_type, size_t size, Allocator *allocator, bool resizable) |
|
| Storage (caffe2::TypeMeta data_type, int64_t numel, at::DataPtr data_ptr, at::Allocator *allocator, bool resizable) |
|
template<typename T > |
bool | IsType () const |
|
template<typename T > |
T * | data () const |
|
template<typename T > |
T * | unsafe_data () const |
|
size_t | elementSize () const |
|
size_t | itemsize () const |
|
ptrdiff_t | size () const |
|
int64_t | numel () const |
|
void | set_numel (int64_t numel) const |
|
bool | resizable () const |
|
size_t | capacity () const |
|
void * | data () const |
|
const caffe2::TypeMeta & | dtype () const |
|
at::DataPtr & | data_ptr () |
|
const at::DataPtr & | data_ptr () const |
|
at::DataPtr | set_data_ptr (at::DataPtr &&data_ptr) const |
|
void | set_dtype (const caffe2::TypeMeta &data_type) const |
|
DeviceType | device_type () const |
|
at::Allocator * | allocator () const |
|
at::Device | device () const |
|
StorageImpl * | unsafeReleaseStorageImpl () |
|
StorageImpl * | unsafeGetStorageImpl () const noexcept |
|
| operator bool () const |
|
size_t | use_count () const |
|
bool | unique () const |
|
bool | is_alias_of (const Storage &other) const |
|
void | UniqueStorageShareExternalPointer (void *src, const caffe2::TypeMeta &data_type, size_t capacity, DeleterFnPtr d=nullptr) |
|
void | UniqueStorageShareExternalPointer (at::DataPtr &&data_ptr, const caffe2::TypeMeta &data_type, size_t capacity) |
|
Definition at line 7 of file Storage.h.
The documentation for this struct was generated from the following file: