@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class UndefinedTensorImpl extends TensorImpl
TensorImpl.ImplType, TensorImpl.LongIdentity, TensorImpl.SizesStridesPolicy, TensorImpl.SymIntIdentityPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
UndefinedTensorImpl(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
has_storage()
True if this tensor has storage.
|
void |
set_storage_offset(long offset)
Set the offset into the storage of this tensor.
|
static TensorImpl |
singleton() |
_change_backend_component_keys, _fw_grad, _generic_sizes, _generic_sizes, _generic_storage_offset, _generic_storage_offset, _generic_strides, _generic_strides, _is_zerotensor, _set_conj, _set_fw_grad, _set_neg, _set_zero, allow_tensor_metadata_change, autograd_meta, bump_version, data, device_type, device, dim_default, dim, dtype_initialized, dtype, empty_tensor_restride_symint, empty_tensor_restride_symint, empty_tensor_restride, empty_tensor_restride, Extend, FreeMemory, generic_set_sizes_contiguous, generic_set_sizes_contiguous, generic_set_sizes_contiguous, get_backend_meta_intrusive_ptr, get_backend_meta, get_device, grad, has_compatible_shallow_copy_type, has_named_tensor_meta, has_symbolic_sizes_strides, is_conj, is_contiguous_default, is_contiguous, is_contiguous, is_cpu, is_cuda, is_empty, is_hip, is_hpu, is_inference, is_ipu, is_lazy, is_meta, is_metal, is_mkldnn, is_mps, is_mtia, is_neg, is_nested, is_non_overlapping_and_dense_default, is_non_overlapping_and_dense, is_ort, is_python_dispatch, is_quantized, is_sparse_csr, is_sparse, is_strides_like_channels_last_3d, is_strides_like_channels_last, is_strides_like_default, is_strides_like, is_ve, is_vulkan, is_wrapped_number, is_xla, is_xpu, itemsize, key_set, layout, mutable_data, mutable_grad, named_tensor_meta, numel_default, numel, pyobj_slot, raw_mutable_data, release_resources, release_storage_and_set_meta_custom_data_ptr_error_msg_, remove_autograd_key, requires_grad, ReserveSpace, Reshape, set_allow_tensor_metadata_change, set_autograd_meta, set_backend_meta, set_custom_device, set_custom_layout, set_custom_sizes_strides, set_custom_sizes_strides, set_named_tensor_meta, set_python_custom_device, set_python_custom_layout, set_python_custom_sizes_strides, set_python_custom_sizes_strides, set_python_dispatch, set_requires_grad, set_size, set_sizes_and_strides, set_sizes_and_strides, set_sizes_and_strides, set_sizes_and_strides, set_sizes_and_strides, set_sizes_and_strides, set_sizes_contiguous, set_sizes_contiguous, set_storage_access_should_throw, set_storage_and_dtype, set_storage_keep_dtype, set_stride, set_version_counter, set_wrapped_number, shallow_copy_and_detach, shallow_copy_from, ShareData, ShareExternalPointer, size, sizes_default, sizes, storage_initialized, storage_offset_default, storage_offset, storage, stride, strides_default, strides, support_as_strided, sym_numel_default, sym_numel, sym_size, sym_sizes_default, sym_sizes, sym_storage_offset_default, sym_storage_offset, sym_strides_default, sym_strides, unique_version, unsafe_storage, version_counteraddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic UndefinedTensorImpl(Pointer p)
Pointer(Pointer).@Const public static TensorImpl singleton()
@Cast(value="bool") public boolean has_storage()
TensorImplhas_storage in class TensorImplpublic void set_storage_offset(@Cast(value="int64_t") long offset)
TensorImplset_storage_offset in class TensorImplCopyright © 2024. All rights reserved.