PyTorch
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
from_blob.h File Reference
#include <ATen/core/Tensor.h>

Go to the source code of this file.

Classes

class  at::TensorMaker
 Provides a fluent API to construct tensors from external data. More...
 

Namespaces

namespace  at
 
namespace  at::detail
 

Functions

TORCH_API void at::detail::noopDelete (void *)
 
TensorMaker at::for_blob (void *data, IntArrayRef sizes) noexcept
 
Tensor at::from_blob (void *data, IntArrayRef sizes, IntArrayRef strides, const std::function< void(void *)> &deleter, const TensorOptions &options={}, const c10::optional< Device > target_device=c10::nullopt)
 
Tensor at::from_blob (void *data, IntArrayRef sizes, IntArrayRef strides, int64_t storage_offset, const std::function< void(void *)> &deleter, const TensorOptions &options={}, const c10::optional< Device > target_device=c10::nullopt)
 
Tensor at::from_blob (void *data, IntArrayRef sizes, const std::function< void(void *)> &deleter, const TensorOptions &options={})
 
Tensor at::from_blob (void *data, IntArrayRef sizes, IntArrayRef strides, const TensorOptions &options={})
 
Tensor at::from_blob (void *data, IntArrayRef sizes, const TensorOptions &options={})