Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.cuda | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
TensorOptions |
TensorOptions.device_index(byte device_index)
Return a copy of
TensorOptions , but with device set to CUDA, and the
device index set to the given one. |
TensorOptions |
TensorOptions.device(DeviceOptional device)
Return a copy of
TensorOptions with device set to the given one, or
cleared if device is nullopt . |
TensorOptions |
TensorOptions.dtype(ScalarTypeOptional dtype) |
TensorOptions |
TensorOptions.dtype(TypeMetaOptional dtype)
Return a copy of
TensorOptions with dtype set to the given one. |
TensorOptions |
TensorOptions.getPointer(long i) |
TensorOptions |
TensorOptions.layout(LayoutOptional layout)
Sets the layout of the
TensorOptions . |
TensorOptions |
TensorOptions.memory_format(MemoryFormatOptional memory_format)
Sets the
memory_format property on TensorOptions . |
TensorOptions |
TensorOptions.merge_in(TensorOptions options)
Return the right-biased merge of two TensorOptions.
|
TensorOptions |
TensorOptions.merge_memory_format(MemoryFormatOptional optional_memory_format) |
TensorOptions |
OperandInfo.options() |
TensorOptions |
TensorBase.options()
Returns the
TensorOptions corresponding to this Tensor . |
abstract TensorOptions |
AbstractTensor.options() |
TensorOptions |
TensorOptions.pinned_memory(BoolOptional pinned_memory)
Sets the
pinned_memory property on the TensorOptions . |
TensorOptions |
TensorOptions.position(long position) |
TensorOptions |
TensorOptions.requires_grad(BoolOptional requires_grad)
Sets the
requires_grad property of the TensorOptions . |
Modifier and Type | Method and Description |
---|---|
int |
Node.add_input_metadata(TensorOptions options,
SymIntArrayRef shape,
boolean is_tensor_subclass)
Adds the type and shape metadata for a new input.
|
TensorOptions |
TensorOptions.merge_in(TensorOptions options)
Return the right-biased merge of two TensorOptions.
|
Tensor |
Tensor.new_empty_strided_symint(SymIntArrayRef size,
SymIntArrayRef stride,
TensorOptions options) |
Tensor |
Tensor.new_empty_strided(long[] size,
long[] stride,
TensorOptions options) |
Tensor |
Tensor.new_empty_strided(LongArrayRef size,
LongArrayRef stride,
TensorOptions options) |
Tensor |
Tensor.new_empty_symint(SymIntArrayRef size,
TensorOptions options) |
Tensor |
Tensor.new_empty(long[] size,
TensorOptions options) |
Tensor |
Tensor.new_empty(LongArrayRef size,
TensorOptions options) |
Tensor |
Tensor.new_full_symint(SymIntArrayRef size,
Scalar fill_value,
TensorOptions options) |
Tensor |
Tensor.new_full(long[] size,
Scalar fill_value,
TensorOptions options) |
Tensor |
Tensor.new_full(LongArrayRef size,
Scalar fill_value,
TensorOptions options) |
Tensor |
Tensor.new_ones_symint(SymIntArrayRef size,
TensorOptions options) |
Tensor |
Tensor.new_ones(long[] size,
TensorOptions options) |
Tensor |
Tensor.new_ones(LongArrayRef size,
TensorOptions options) |
Tensor |
Tensor.new_zeros_symint(SymIntArrayRef size,
TensorOptions options) |
Tensor |
Tensor.new_zeros(long[] size,
TensorOptions options) |
Tensor |
Tensor.new_zeros(LongArrayRef size,
TensorOptions options) |
TensorMaker |
TensorMaker.options(TensorOptions value) |
void |
MetaBase.set_output_contiguous(long output_idx,
long[] sizes,
TensorOptions options) |
void |
MetaBase.set_output_contiguous(long output_idx,
long[] sizes,
TensorOptions options,
DimnameVector names) |
void |
MetaBase.set_output_contiguous(long output_idx,
LongArrayRef sizes,
TensorOptions options) |
void |
MetaBase.set_output_contiguous(long output_idx,
LongArrayRef sizes,
TensorOptions options,
DimnameArrayRef names) |
void |
MetaBase.set_output_raw_strided(long output_idx,
long[] sizes,
long[] strides_hint,
TensorOptions options) |
void |
TensorIterator.set_output_raw_strided(long output_idx,
long[] sizes,
long[] strides,
TensorOptions options,
DimnameVector names) |
void |
TensorIteratorBase.set_output_raw_strided(long output_idx,
long[] sizes,
long[] strides,
TensorOptions options,
DimnameVector names) |
void |
MetaBase.set_output_raw_strided(long output_idx,
long[] sizes,
long[] strides_hint,
TensorOptions options,
DimnameVector names) |
void |
MetaBase.set_output_raw_strided(long output_idx,
LongArrayRef sizes,
LongArrayRef strides_hint,
TensorOptions options) |
void |
TensorIterator.set_output_raw_strided(long output_idx,
LongArrayRef sizes,
LongArrayRef strides,
TensorOptions options,
DimnameArrayRef names) |
void |
TensorIteratorBase.set_output_raw_strided(long output_idx,
LongArrayRef sizes,
LongArrayRef strides,
TensorOptions options,
DimnameArrayRef names) |
void |
MetaBase.set_output_raw_strided(long output_idx,
LongArrayRef sizes,
LongArrayRef strides_hint,
TensorOptions options,
DimnameArrayRef names) |
void |
MetaBase.set_output_strided(long output_idx,
long[] sizes,
long[] strides,
TensorOptions options) |
void |
MetaBase.set_output_strided(long output_idx,
long[] sizes,
long[] strides,
TensorOptions options,
DimnameVector names) |
void |
MetaBase.set_output_strided(long output_idx,
LongArrayRef sizes,
LongArrayRef strides,
TensorOptions options) |
void |
MetaBase.set_output_strided(long output_idx,
LongArrayRef sizes,
LongArrayRef strides,
TensorOptions options,
DimnameArrayRef names) |
PackedSequence |
PackedSequence.to(TensorOptions options) |
Tensor |
Tensor.to(TensorOptions options,
boolean non_blocking,
boolean copy,
MemoryFormatOptional memory_format) |
TensorBase |
TensorBase.to(TensorOptions options,
boolean non_blocking,
boolean copy,
MemoryFormatOptional memory_format) |
boolean |
TensorOptions.type_equal(TensorOptions other) |
Modifier and Type | Method and Description |
---|---|
void |
DropoutDescriptor.initialize_rng(Pointer handle,
float dropout,
long seed,
TensorOptions options) |
Modifier and Type | Method and Description |
---|---|
static TensorOptions |
torch.device_index(short device_index)
Convenience function that returns a
TensorOptions object with the
device set to CUDA and the device_index set to the given one. |
static TensorOptions |
torch.device(Device device)
Convenience function that returns a
TensorOptions object with the device
set to the given one. |
static TensorOptions |
torch.dispatchKeyToTensorOptions(short dispatch_key) |
static TensorOptions |
torch.dispatchKeyToTensorOptions(torch.DispatchKey dispatch_key) |
static TensorOptions |
torch.dtype(torch.ScalarType dtype) |
static TensorOptions |
torch.dtype(TypeMeta dtype)
Convenience function that returns a
TensorOptions object with the dtype
set to the given one. |
static TensorOptions |
torch.layout(byte layout) |
static TensorOptions |
torch.layout(torch.Layout layout)
Convenience function that returns a
TensorOptions object with the layout
set to the given one. |
static TensorOptions |
torch.memory_format(byte memory_format) |
static TensorOptions |
torch.memory_format(torch.MemoryFormat memory_format)
Convenience function that returns a
TensorOptions object with the
memory_format set to the given one. |
static TensorOptions |
torch.requires_grad(boolean requires_grad)
Convenience function that returns a
TensorOptions object with the
requires_grad set to the given one. |
Modifier and Type | Method and Description |
---|---|
static Tensor |
torch._efficientzerotensor_symint(SymIntArrayRef size,
TensorOptions options) |
static Tensor |
torch._empty_affine_quantized_symint(SymIntArrayRef size,
TensorOptions options,
double scale,
long zero_point,
MemoryFormatOptional memory_format) |
static Tensor |
torch._empty_per_channel_affine_quantized_symint(SymIntArrayRef size,
Tensor scales,
Tensor zero_points,
long axis,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch._make_dep_token(TensorOptions options,
MemoryFormatOptional memory_format)
Exposes the given
data as a Tensor without taking ownership of the
original data. |
static Tensor |
torch._sparse_coo_tensor_unsafe_symint(Tensor indices,
Tensor values,
SymIntArrayRef size,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch._sparse_coo_tensor_with_dims_and_tensors_symint(long sparse_dim,
long dense_dim,
SymIntArrayRef size,
Tensor indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch._sparse_coo_tensor_with_dims_and_tensors_symint(long sparse_dim,
long dense_dim,
SymIntArrayRef size,
Tensor indices,
Tensor values,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.arange(Scalar start,
Scalar end,
Scalar step,
TensorOptions options) |
static Tensor |
torch.arange(Scalar start,
Scalar end,
TensorOptions options) |
static Tensor |
torch.arange(Scalar end,
TensorOptions options) |
static boolean |
torch.backend_supports_empty_operator(TensorOptions options) |
static Tensor |
torch.bartlett_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.bartlett_window(long window_length,
TensorOptions options) |
static Tensor |
torch.blackman_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.blackman_window(long window_length,
TensorOptions options) |
static void |
torch.boxToStack(Pointer dest,
TensorOptions options,
int[] lastIdx) |
static void |
torch.boxToStack(Pointer dest,
TensorOptions options,
IntBuffer lastIdx) |
static void |
torch.boxToStack(Pointer dest,
TensorOptions options,
IntPointer lastIdx) |
static MemoryFormatOptional |
torch.check_tensor_options_and_extract_memory_format(TensorOptions options,
MemoryFormatOptional memory_format) |
static TensorBase |
torch.empty_cpu(long[] size,
TensorOptions options) |
static TensorBase |
torch.empty_cpu(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.empty_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static TensorBase |
torch.empty_meta(long[] size,
TensorOptions options) |
static TensorBase |
torch.empty_meta(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.empty_permuted_symint(SymIntArrayRef size,
long[] physical_layout,
TensorOptions options) |
static Tensor |
torch.empty_permuted_symint(SymIntArrayRef size,
LongArrayRef physical_layout,
TensorOptions options) |
static Tensor |
torch.empty_permuted(long[] size,
long[] physical_layout,
TensorOptions options) |
static Tensor |
torch.empty_permuted(LongArrayRef size,
LongArrayRef physical_layout,
TensorOptions options) |
static Tensor |
torch.empty_quantized(long[] size,
Tensor qtensor,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.empty_quantized(LongArrayRef size,
Tensor qtensor,
TensorOptions options,
MemoryFormatOptional memory_format) |
static TensorBase |
torch.empty_strided_cpu(long[] size,
long[] stride,
TensorOptions options) |
static TensorBase |
torch.empty_strided_cpu(LongArrayRef size,
LongArrayRef stride,
TensorOptions options) |
static TensorBase |
torch.empty_strided_meta(long[] size,
long[] stride,
TensorOptions options) |
static TensorBase |
torch.empty_strided_meta(LongArrayRef size,
LongArrayRef stride,
TensorOptions options) |
static TensorBase |
torch.empty_strided_symint_meta(SymIntArrayRef size,
SymIntArrayRef stride,
TensorOptions options) |
static Tensor |
torch.empty_strided_symint(SymIntArrayRef size,
SymIntArrayRef stride,
TensorOptions options) |
static Tensor |
torch.empty_strided(long[] size,
long[] stride,
TensorOptions options) |
static Tensor |
torch.empty_strided(LongArrayRef size,
LongArrayRef stride,
TensorOptions options) |
static Tensor |
torch.empty_symint(SymIntArrayRef size,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.empty(long[] size,
DimnameListOptional names,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.empty(long[] size,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.empty(LongArrayRef size,
DimnameListOptional names,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.empty(LongArrayRef size,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.eye_symint(SymInt n,
SymInt m,
TensorOptions options) |
static Tensor |
torch.eye_symint(SymInt n,
TensorOptions options) |
static Tensor |
torch.eye(long n,
long m,
TensorOptions options) |
static Tensor |
torch.eye(long n,
TensorOptions options) |
static Tensor |
torch.fft_fftfreq(long n,
double d,
TensorOptions options) |
static Tensor |
torch.fft_rfftfreq(long n,
double d,
TensorOptions options) |
static Tensor |
torch.fftfreq(long n,
double d,
TensorOptions options)
Computes the discrete Fourier Transform sample frequencies for a signal of
size n.
|
static Tensor |
torch.fftfreq(long n,
TensorOptions options) |
static Tensor |
torch.from_blob(Pointer data,
long[] sizes,
long[] strides,
long storage_offset,
PointerConsumer deleter,
TensorOptions options,
DeviceOptional target_device) |
static Tensor |
torch.from_blob(Pointer data,
long[] sizes,
long[] strides,
PointerConsumer deleter,
TensorOptions options) |
static Tensor |
torch.from_blob(Pointer data,
long[] sizes,
long[] strides,
PointerConsumer deleter,
TensorOptions options,
DeviceOptional target_device) |
static Tensor |
torch.from_blob(Pointer data,
long[] sizes,
long[] strides,
TensorOptions options) |
static Tensor |
torch.from_blob(Pointer data,
long[] sizes,
PointerConsumer deleter,
TensorOptions options) |
static Tensor |
torch.from_blob(Pointer data,
long[] sizes,
PointerConsumer deleter,
TensorOptions options,
DeviceOptional target_device) |
static Tensor |
torch.from_blob(Pointer data,
long[] sizes,
TensorOptions options) |
static Tensor |
torch.from_blob(Pointer data,
LongArrayRef sizes,
LongArrayRef strides,
long storage_offset,
PointerConsumer deleter,
TensorOptions options,
DeviceOptional target_device) |
static Tensor |
torch.from_blob(Pointer data,
LongArrayRef sizes,
LongArrayRef strides,
PointerConsumer deleter,
TensorOptions options)
Exposes the given
data as a Tensor without taking ownership of the
original data. |
static Tensor |
torch.from_blob(Pointer data,
LongArrayRef sizes,
LongArrayRef strides,
PointerConsumer deleter,
TensorOptions options,
DeviceOptional target_device) |
static Tensor |
torch.from_blob(Pointer data,
LongArrayRef sizes,
LongArrayRef strides,
TensorOptions options) |
static Tensor |
torch.from_blob(Pointer data,
LongArrayRef sizes,
PointerConsumer deleter,
TensorOptions options)
Exposes the given
data as a Tensor without taking ownership of the
original data. |
static Tensor |
torch.from_blob(Pointer data,
LongArrayRef sizes,
PointerConsumer deleter,
TensorOptions options,
DeviceOptional target_device) |
static Tensor |
torch.from_blob(Pointer data,
LongArrayRef sizes,
TensorOptions options) |
static Tensor |
torch.from_file(BytePointer filename,
BoolOptional shared,
LongOptional size,
TensorOptions options) |
static Tensor |
torch.from_file(String filename,
BoolOptional shared,
LongOptional size,
TensorOptions options) |
static Tensor |
torch.full_like(Tensor self,
Scalar fill_value,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.full_symint(SymIntArrayRef size,
Scalar fill_value,
TensorOptions options) |
static Tensor |
torch.full(long[] size,
Scalar fill_value,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.full(long[] size,
Scalar fill_value,
TensorOptions options) |
static Tensor |
torch.full(LongArrayRef size,
Scalar fill_value,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.full(LongArrayRef size,
Scalar fill_value,
TensorOptions options) |
static Tensor |
torch.hamming_window(long window_length,
boolean periodic,
double alpha,
double beta,
TensorOptions options) |
static Tensor |
torch.hamming_window(long window_length,
boolean periodic,
double alpha,
TensorOptions options) |
static Tensor |
torch.hamming_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.hamming_window(long window_length,
TensorOptions options) |
static Tensor |
torch.hann_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.hann_window(long window_length,
TensorOptions options) |
static Tensor |
torch.kaiser_window(long window_length,
boolean periodic,
double beta,
TensorOptions options) |
static Tensor |
torch.kaiser_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.kaiser_window(long window_length,
TensorOptions options) |
static Tensor |
torch.linspace(Scalar start,
Scalar end,
long steps,
TensorOptions options) |
static Tensor |
torch.logspace(Scalar start,
Scalar end,
long steps,
double base,
TensorOptions options) |
static Tensor |
torch.nested_tensor(Pointer nested_tensor_data,
TensorOptions options) |
static Tensor |
torch.nested_tensor(TensorArrayRef nested_tensor_data,
TensorOptions options)
Nested tensor
See
https://pytorch.org/docs/master/nested.html#torch.nested.nested_tensor
|
static Tensor |
torch.nested_tensor(TensorVector nested_tensor_data,
TensorOptions options) |
static Tensor |
torch.normal_symint(double mean,
double std,
SymIntArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.normal(double mean,
double std,
long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.normal(double mean,
double std,
LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.ones_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.ones_symint(SymIntArrayRef size,
TensorOptions options) |
static Tensor |
torch.ones(long[] size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.ones(long[] size,
TensorOptions options) |
static Tensor |
torch.ones(LongArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.ones(LongArrayRef size,
TensorOptions options) |
static void |
torch.push_one(IValueVector stack,
TensorOptions options) |
static Tensor |
torch.rand_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.rand_symint(SymIntArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.rand_symint(SymIntArrayRef size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.rand_symint(SymIntArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.rand_symint(SymIntArrayRef size,
TensorOptions options) |
static Tensor |
torch.rand(long[] size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.rand(long[] size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.rand(long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.rand(long[] size,
TensorOptions options) |
static Tensor |
torch.rand(LongArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.rand(LongArrayRef size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.rand(LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.rand(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.randint_like_symint(Tensor self,
SymInt low,
SymInt high,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.randint_like_symint(Tensor self,
SymInt high,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.randint_like(Tensor self,
long low,
long high,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.randint_like(Tensor self,
long high,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.randint_symint(SymInt high,
SymIntArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randint_symint(SymInt high,
SymIntArrayRef size,
TensorOptions options) |
static Tensor |
torch.randint_symint(SymInt low,
SymInt high,
SymIntArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randint_symint(SymInt low,
SymInt high,
SymIntArrayRef size,
TensorOptions options) |
static Tensor |
torch.randint(long high,
long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randint(long high,
long[] size,
TensorOptions options) |
static Tensor |
torch.randint(long high,
LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randint(long high,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.randint(long low,
long high,
long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randint(long low,
long high,
long[] size,
TensorOptions options) |
static Tensor |
torch.randint(long low,
long high,
LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randint(long low,
long high,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.randn_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.randn_symint(SymIntArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.randn_symint(SymIntArrayRef size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.randn_symint(SymIntArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randn_symint(SymIntArrayRef size,
TensorOptions options) |
static Tensor |
torch.randn(long[] size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.randn(long[] size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.randn(long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randn(long[] size,
TensorOptions options) |
static Tensor |
torch.randn(LongArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.randn(LongArrayRef size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.randn(LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randn(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.randperm_symint(SymInt n,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randperm_symint(SymInt n,
TensorOptions options) |
static Tensor |
torch.randperm(long n,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.randperm(long n,
TensorOptions options) |
static Tensor |
torch.range(Scalar start,
Scalar end,
Scalar step,
TensorOptions options) |
static Tensor |
torch.range(Scalar start,
Scalar end,
TensorOptions options) |
static Tensor |
torch.rfftfreq(long n,
double d,
TensorOptions options)
Computes the sample frequencies for torch.fft.rfft with a signal of size n.
|
static Tensor |
torch.rfftfreq(long n,
TensorOptions options) |
static Tensor |
torch.scalar_tensor(Scalar s,
TensorOptions options) |
static Tensor |
torch.scalarToTensor(Scalar v,
TensorOptions options,
Device self_device) |
static Tensor |
torch.scalarToTensorNonNativeDeviceType(Scalar v,
TensorOptions options) |
static Pointer |
torch.shiftLeft(Pointer stream,
TensorOptions options) |
static Tensor |
torch.sparse_bsc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.sparse_bsc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.sparse_bsc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.sparse_bsr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.sparse_bsr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.sparse_bsr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.sparse_compressed_tensor(Tensor compressed_indices,
Tensor plain_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.sparse_compressed_tensor(Tensor compressed_indices,
Tensor plain_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.sparse_compressed_tensor(Tensor compressed_indices,
Tensor plain_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.sparse_coo_tensor(long[] size,
TensorOptions options) |
static Tensor |
torch.sparse_coo_tensor(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.sparse_coo_tensor(Tensor indices,
Tensor values,
long[] size,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.sparse_coo_tensor(Tensor indices,
Tensor values,
LongArrayRef size,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.sparse_coo_tensor(Tensor indices,
Tensor values,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.sparse_csc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.sparse_csc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.sparse_csc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.sparse_csr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.sparse_csr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.sparse_csr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.tensor(BFloat16ArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(BFloat16 value,
TensorOptions options) |
static Tensor |
torch.tensor(BoolArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(boolean value,
TensorOptions options) |
static Tensor |
torch.tensor(byte[] values,
TensorOptions options) |
static Tensor |
torch.tensor(ByteArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(byte value,
TensorOptions options) |
static Tensor |
torch.tensor(DoubleArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(DoubleComplexArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(DoubleComplex value,
TensorOptions options) |
static Tensor |
torch.tensor(double value,
TensorOptions options) |
static Tensor |
torch.tensor(float[] values,
TensorOptions options) |
static Tensor |
torch.tensor(FloatArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(FloatComplexArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(FloatComplex value,
TensorOptions options) |
static Tensor |
torch.tensor(float value,
TensorOptions options) |
static Tensor |
torch.tensor(HalfArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(Half value,
TensorOptions options) |
static Tensor |
torch.tensor(int[] values,
TensorOptions options) |
static Tensor |
torch.tensor(IntArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(int value,
TensorOptions options) |
static Tensor |
torch.tensor(long[] values,
TensorOptions options) |
static Tensor |
torch.tensor(LongArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(long value,
TensorOptions options) |
static Tensor |
torch.tensor(Pointer tensor_data_container,
TensorOptions options)
NOTE: Currently
torch::tensor(...) doesn't support mixed data types
(i.e. |
static Tensor |
torch.tensor(short[] values,
TensorOptions options) |
static Tensor |
torch.tensor(ShortArrayRef values,
TensorOptions options) |
static Tensor |
torch.tensor(short value,
TensorOptions options) |
static Tensor |
torch.torch__cudnn_init_dropout_state(double dropout,
boolean train,
long dropout_seed,
TensorOptions options) |
static Tensor |
torch.torch__efficientzerotensor(long[] size,
TensorOptions options) |
static Tensor |
torch.torch__efficientzerotensor(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch__empty_affine_quantized(long[] size,
TensorOptions options,
double scale,
long zero_point,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch__empty_affine_quantized(LongArrayRef size,
TensorOptions options,
double scale,
long zero_point,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch__empty_per_channel_affine_quantized(long[] size,
Tensor scales,
Tensor zero_points,
long axis,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch__empty_per_channel_affine_quantized(LongArrayRef size,
Tensor scales,
Tensor zero_points,
long axis,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch__sparse_bsc_tensor_unsafe(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_bsc_tensor_unsafe(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_bsr_tensor_unsafe(Tensor crow_indices,
Tensor col_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_bsr_tensor_unsafe(Tensor crow_indices,
Tensor col_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_compressed_tensor_unsafe(Tensor compressed_indices,
Tensor plain_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_compressed_tensor_unsafe(Tensor compressed_indices,
Tensor plain_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_coo_tensor_unsafe(Tensor indices,
Tensor values,
long[] size,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.torch__sparse_coo_tensor_unsafe(Tensor indices,
Tensor values,
LongArrayRef size,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.torch__sparse_coo_tensor_with_dims_and_tensors(long sparse_dim,
long dense_dim,
long[] size,
Tensor indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.torch__sparse_coo_tensor_with_dims_and_tensors(long sparse_dim,
long dense_dim,
long[] size,
Tensor indices,
Tensor values,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.torch__sparse_coo_tensor_with_dims_and_tensors(long sparse_dim,
long dense_dim,
LongArrayRef size,
Tensor indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.torch__sparse_coo_tensor_with_dims_and_tensors(long sparse_dim,
long dense_dim,
LongArrayRef size,
Tensor indices,
Tensor values,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.torch__sparse_coo_tensor_with_dims(long sparse_dim,
long dense_dim,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_coo_tensor_with_dims(long sparse_dim,
long dense_dim,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_csc_tensor_unsafe(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_csc_tensor_unsafe(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_csr_tensor_unsafe(Tensor crow_indices,
Tensor col_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch__sparse_csr_tensor_unsafe(Tensor crow_indices,
Tensor col_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch__to_copy(Tensor self,
TensorOptions options,
boolean non_blocking,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_arange(Scalar start,
Scalar end,
Scalar step,
TensorOptions options) |
static Tensor |
torch.torch_arange(Scalar start,
Scalar end,
TensorOptions options) |
static Tensor |
torch.torch_arange(Scalar end,
TensorOptions options) |
static Tensor |
torch.torch_bartlett_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.torch_bartlett_window(long window_length,
TensorOptions options) |
static Tensor |
torch.torch_blackman_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.torch_blackman_window(long window_length,
TensorOptions options) |
static Tensor |
torch.torch_empty_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_empty_quantized(long[] size,
Tensor qtensor,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_empty_quantized(LongArrayRef size,
Tensor qtensor,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_empty_strided(long[] size,
long[] stride,
TensorOptions options) |
static Tensor |
torch.torch_empty_strided(LongArrayRef size,
LongArrayRef stride,
TensorOptions options) |
static Tensor |
torch.torch_empty(long[] size,
DimnameListOptional names,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_empty(long[] size,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_empty(LongArrayRef size,
DimnameListOptional names,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_empty(LongArrayRef size,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_eye(long n,
long m,
TensorOptions options) |
static Tensor |
torch.torch_eye(long n,
TensorOptions options) |
static Tensor |
torch.torch_fft_fftfreq(long n,
double d,
TensorOptions options) |
static Tensor |
torch.torch_fft_rfftfreq(long n,
double d,
TensorOptions options) |
static Tensor |
torch.torch_from_file(BytePointer filename,
BoolOptional shared,
LongOptional size,
TensorOptions options) |
static Tensor |
torch.torch_from_file(String filename,
BoolOptional shared,
LongOptional size,
TensorOptions options) |
static Tensor |
torch.torch_full_like(Tensor self,
Scalar fill_value,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_full(long[] size,
Scalar fill_value,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_full(long[] size,
Scalar fill_value,
TensorOptions options) |
static Tensor |
torch.torch_full(LongArrayRef size,
Scalar fill_value,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_full(LongArrayRef size,
Scalar fill_value,
TensorOptions options) |
static Tensor |
torch.torch_hamming_window(long window_length,
boolean periodic,
double alpha,
double beta,
TensorOptions options) |
static Tensor |
torch.torch_hamming_window(long window_length,
boolean periodic,
double alpha,
TensorOptions options) |
static Tensor |
torch.torch_hamming_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.torch_hamming_window(long window_length,
TensorOptions options) |
static Tensor |
torch.torch_hann_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.torch_hann_window(long window_length,
TensorOptions options) |
static Tensor |
torch.torch_kaiser_window(long window_length,
boolean periodic,
double beta,
TensorOptions options) |
static Tensor |
torch.torch_kaiser_window(long window_length,
boolean periodic,
TensorOptions options) |
static Tensor |
torch.torch_kaiser_window(long window_length,
TensorOptions options) |
static Tensor |
torch.torch_linspace(Scalar start,
Scalar end,
long steps,
TensorOptions options) |
static Tensor |
torch.torch_logspace(Scalar start,
Scalar end,
long steps,
double base,
TensorOptions options) |
static Tensor |
torch.torch_normal(double mean,
double std,
long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_normal(double mean,
double std,
LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_ones_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_ones(long[] size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_ones(long[] size,
TensorOptions options) |
static Tensor |
torch.torch_ones(LongArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_ones(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_rand_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_rand(long[] size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_rand(long[] size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_rand(long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_rand(long[] size,
TensorOptions options) |
static Tensor |
torch.torch_rand(LongArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_rand(LongArrayRef size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_rand(LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_rand(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_randint_like(Tensor self,
long low,
long high,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_randint_like(Tensor self,
long high,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_randint(long high,
long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_randint(long high,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch_randint(long high,
LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_randint(long high,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_randint(long low,
long high,
long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_randint(long low,
long high,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch_randint(long low,
long high,
LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_randint(long low,
long high,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_randn_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_randn(long[] size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_randn(long[] size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_randn(long[] size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_randn(long[] size,
TensorOptions options) |
static Tensor |
torch.torch_randn(LongArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_randn(LongArrayRef size,
GeneratorOptional generator,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_randn(LongArrayRef size,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_randn(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_randperm(long n,
GeneratorOptional generator,
TensorOptions options) |
static Tensor |
torch.torch_randperm(long n,
TensorOptions options) |
static Tensor |
torch.torch_range(Scalar start,
Scalar end,
Scalar step,
TensorOptions options) |
static Tensor |
torch.torch_range(Scalar start,
Scalar end,
TensorOptions options) |
static Tensor |
torch.torch_scalar_tensor(Scalar s,
TensorOptions options) |
static Tensor |
torch.torch_sparse_bsc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_bsc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_bsc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.torch_sparse_bsr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_bsr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_bsr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.torch_sparse_compressed_tensor(Tensor compressed_indices,
Tensor plain_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_compressed_tensor(Tensor compressed_indices,
Tensor plain_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_compressed_tensor(Tensor compressed_indices,
Tensor plain_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.torch_sparse_coo_tensor(long[] size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_coo_tensor(LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_coo_tensor(Tensor indices,
Tensor values,
long[] size,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.torch_sparse_coo_tensor(Tensor indices,
Tensor values,
LongArrayRef size,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.torch_sparse_coo_tensor(Tensor indices,
Tensor values,
TensorOptions options,
BoolOptional is_coalesced) |
static Tensor |
torch.torch_sparse_csc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_csc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_csc_tensor(Tensor ccol_indices,
Tensor row_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.torch_sparse_csr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
long[] size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_csr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
LongArrayRef size,
TensorOptions options) |
static Tensor |
torch.torch_sparse_csr_tensor(Tensor crow_indices,
Tensor col_indices,
Tensor values,
TensorOptions options) |
static Tensor |
torch.torch_tril_indices(long row,
long col,
long offset,
TensorOptions options) |
static Tensor |
torch.torch_triu_indices(long row,
long col,
long offset,
TensorOptions options) |
static Tensor |
torch.torch_zeros_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.torch_zeros(long[] size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_zeros(long[] size,
TensorOptions options) |
static Tensor |
torch.torch_zeros(LongArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.torch_zeros(LongArrayRef size,
TensorOptions options) |
static BytePointer |
torch.toString(TensorOptions options) |
static Tensor |
torch.tril_indices(long row,
long col,
long offset,
TensorOptions options) |
static Tensor |
torch.triu_indices(long row,
long col,
long offset,
TensorOptions options) |
static Tensor |
torch.zeros_like(Tensor self,
TensorOptions options,
MemoryFormatOptional memory_format) |
static Tensor |
torch.zeros_symint(SymIntArrayRef size,
TensorOptions options) |
static Tensor |
torch.zeros(long[] size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.zeros(long[] size,
TensorOptions options) |
static Tensor |
torch.zeros(LongArrayRef size,
DimnameListOptional names,
TensorOptions options) |
static Tensor |
torch.zeros(LongArrayRef size,
TensorOptions options) |
Copyright © 2024. All rights reserved.