@Namespace(value="at") @Properties(inherit=torch.class) public class TensorIterator extends TensorIteratorBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorIterator() |
TensorIterator(Pointer p)
Pointer cast constructor.
|
TensorIterator(TensorIteratorBase iter) |
_unsafe_set_arg_data, _unsafe_set_arg_strides, _unsafe_set_arg_strides, build_binary_float_op, build_binary_op, build_borrowing_binary_float_op, build_borrowing_binary_op, build_borrowing_comparison_op, build_borrowing_except_last_argument_comparison_op, build_borrowing_unary_float_op, build_borrowing_unary_force_boolean_op, build_borrowing_unary_op, build_comparison_op, build_output_borrowing_argument_owning_unary_op, build_ternary_op, build_unary_float_op, build_unary_op, build, can_use_32bit_indexing, cast_outputs, common_dtype, compatible_stride, data_ptr, device_type, device_type, device, device, dtype, dtype, element_size, get_base_ptrs, get_dim_strides, get_dim_to_split, get_inner_strides, get_strides, has_contiguous_first_dim, input_base, input_base, input_dtype, input_dtype, input, input, invert_perm, invert_perm, is_contiguous, is_cpu_scalar, is_dim_reduced, is_final_output, is_scalar, is_trivial_1d, narrow, ndim, ninputs, noutputs, ntensors, num_output_elements, num_reduce_dims, numel, output_base, output_base, output, output, remove_operand, select_all_keeping_dim, select_all_keeping_dim, shape, should_accumulate, split, strides, tensor_base, tensor, unsafe_replace_operand, view_offsets, with_32bit_indexing
maybe_get_output, set_output_contiguous, set_output_contiguous, set_output_contiguous, set_output_contiguous, set_output_raw_strided, set_output_raw_strided, set_output_strided, set_output_strided, set_output_strided, set_output_strided
address, 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, zero
public TensorIterator(Pointer p)
Pointer(Pointer)
.public TensorIterator()
public TensorIterator(@Const @ByRef TensorIteratorBase iter)
@ByVal public static TensorIterator binary_float_op(@ByRef TensorBase out, @Const @ByRef TensorBase a, @Const @ByRef TensorBase b)
@ByVal public static TensorIterator binary_op(@ByRef TensorBase out, @Const @ByRef TensorBase a, @Const @ByRef TensorBase b)
@ByVal public static TensorIterator borrowing_binary_op(@Const @ByRef TensorBase out, @Const @ByRef TensorBase a, @Const @ByRef TensorBase b)
@ByVal public static TensorIterator comparison_op(@ByRef TensorBase out, @Const @ByRef TensorBase a, @Const @ByRef TensorBase b)
@ByVal public static TensorIterator unary_op(@ByRef TensorBase out, @Const @ByRef TensorBase a)
@ByVal public static TensorIterator unary_float_op(@ByRef TensorBase out, @Const @ByRef TensorBase a)
@ByVal public static TensorIterator nullary_op(@ByRef TensorBase out)
@ByVal public static TensorIterator borrowing_nullary_op(@Const @ByRef TensorBase out)
@ByVal public static TensorIterator reduce_op(@ByRef TensorBase out, @Const @ByRef TensorBase a)
@ByVal public static TensorIterator reduce_op(@ByRef TensorBase out1, @ByRef TensorBase out2, @Const @ByRef TensorBase a)
@Const @ByRef public Tensor maybe_get_output(@Cast(value="int64_t") long output_idx)
maybe_get_output
in class MetaBase
public void set_output_raw_strided(@Cast(value="int64_t") long output_idx, @ByVal LongArrayRef sizes, @ByVal LongArrayRef strides, @ByVal TensorOptions options, @ByVal DimnameArrayRef names)
set_output_raw_strided
in class TensorIteratorBase
public void set_output_raw_strided(@Cast(value="int64_t") long output_idx, @ByVal @Cast(value={"int64_t*","c10::ArrayRef<int64_t>","std::vector<int64_t>&"}) @StdVector(value="int64_t") long[] sizes, @ByVal @Cast(value={"int64_t*","c10::ArrayRef<int64_t>","std::vector<int64_t>&"}) @StdVector(value="int64_t") long[] strides, @ByVal TensorOptions options, @ByVal DimnameVector names)
set_output_raw_strided
in class TensorIteratorBase
Copyright © 2024. All rights reserved.