List of all items
Structs
- AUTOCAST_DISPATCH_KEYSET
- AUTOGRADOTHER_BACKENDS
- AUTOGRAD_DISPATCH_KEYSET
- AUTOGRAD_DISPATCH_KEYSET_WITH_AD_INPLACE_OR_VIEW
- AllocationPlan
- AllocationPlanner
- Allocator
- AllocatorRegisterer
- AutoGradMode
- AutogradMetaFactoryRegisterer
- BACKEND_DISPATCH_KEYSET
- BitIterator
- BitSet
- C10CommandLineOpts
- C10ErrorData
- C10Event
- C10SignalHandler
- C10Tensor
- C10ThreadPool
- CPUCachingAllocator
- CPUProfilingAllocator
- ClassAllowAssignment
- ClassNoAssignment
- CompileTimeEmptyString
- Crc64
- DDPLoggingData
- DEFAULT_EXCLUDED_SET
- DEFAULT_INCLUDED_SET
- DataPtr
- DebugInfoGuard
- DefaultCPUAllocator
- DefaultMobileCPUAllocator
- DefaultTensorOptions
- Device
- DeviceGuard
- DeviceGuardImplRegistrar
- DispatchKeySet
- EnforceEqWithCaller
- EnforceFiniteError
- ExcludeDispatchKeyGuard
- FakeGuardImpl
- Foo
- GeneratorImpl
- GeneratorImplAdapter
- GradMode
- IncludeDispatchKeyGuard
- IndexCallbackMock
- IndexError
- InefficientStdFunctionContext
- InferenceMode
- InlineDeviceGuard
- InlineEvent
- InlineMultiStreamGuard
- InlineOptionalDeviceGuard
- InlineOptionalStreamGuard
- InlineStreamGuard
- LocalDispatchKeySet
- LoggerVoidify
- MATH_DISPATCH_KEYSET
- MemBlock
- MemEvent
- MessageLoader
- MessageLogger
- MultiStreamGuard
- NoGradGuard
- NoOpDeviceGuardImpl
- Noncopyable
- NotImplementedError
- OnnxfiBackendSystemError
- OptionalDeviceGuard
- OptionalStreamGuard
- PODLocalDispatchKeySet
- PlacementDeleteContext
- ProfiledCPUMemoryReporter
- PyInterpreter
- PythonGILHooksRegisterer
- Quint4x2
- Registerer
- Registry
- Scalar
- ScopeExit
- SizesAndStrides
- SmallBuffer
- SourceLocation
- Storage
- StorageImpl
- StorageImplAdapter
- Stream
- StreamGuard
- TaskThreadPool
- TempDir
- TempFile
- TensorImpl
- TensorImplAdapter
- TensorOptions
- ThreadLocalDebugInfo
- ThreadPoolTaskElement
- ThreadWarningHandler
- TypeError
- TypeIdentifier
- TypeIndex
- TypeMetaData
- TypeMetaTestBar
- TypeMetaTestFoo
- UndefinedTensorImpl
- Uninitialized
- UniqueVoidPtr
- ValueError
- VariableVersion
- VersionCounter
- VersionCounterAdapter
- VirtualGuardImpl
- WarnAlways
- WithCPUCachingAllocatorGuard
- WithProfileAllocationsGuard
- WithProfilingAllocatorGuard
- WithValidateAllocationPlanGuard
- _CopyBytesFunctionRegisterer
- c10_test::AnotherBar
- c10_test::Bar
- c10_test::Foo
- qint32
- qint8
- qui8
Enums
- Backend
- CaptureStatus
- DebugInfoKind
- DeviceType
- DispatchKey
- DispatchKeySetFull
- DispatchKeySetFullAfter
- DispatchKeySetRaw
- EnforceNotMet
- EventFlag
- EventType
- HasContiguityPolicy
- Layout
- MemoryFormat
- MyException
- PyInterpreterStatus
- QEngine
- QScheme
- RegistryPriority
- ScalarTag
- ScalarType
- ScalarValue
- SignalHandlerAction
- StreamDefault
- StreamIdType
- StreamUnsafe
- TensorImplType
- VariableVersionDisabled
- ZeroBehavior
Unions
Traits
- AutogradMetaFactoryInterface
- AutogradMetaInterface
- CPUCachingAllocatorInterface
- CheckPythonGil
- CloneImpl
- CurrentSeed
- DebugInfoBaseInterface
- DeviceCount
- DeviceGuardImplInterface
- ExchangeDevice
- ExchangeStream
- Execute
- FwGrad
- GeneratorImplInterface
- GetDevice
- GetState
- GetStream
- Grad
- InThreadPool
- IsContiguousCustom
- Make
- MemoryProfilingEnabled
- MemoryReportingInfoBaseInterface
- MutableGrad
- NamedTensorMetaInterface
- NumAvailable
- PythonGILHooksInterface
- RecordDataPtrOnStream
- ReleaseResources
- ReportMemoryUsage
- RequiresGrad
- Run
- Seed
- SetCurrentSeed
- SetDevice
- SetFwGrad
- SetRequiresGrad
- SetState
- Size
- Strides
- TaskThreadPoolBaseInterface
- TensorImplInterface
- Ty
- UncheckedSetDevice
- UndefinedTensor
- WarningHandlerInterface
Macros
- at_forall_complex_types
- at_forall_int_types
- at_forall_qint_types
- at_forall_scalar_types
- at_forall_scalar_types_and
- at_forall_scalar_types_and2
- at_forall_scalar_types_and3
- at_forall_scalar_types_with_complex_and_qints
- at_forall_scalar_types_with_complex_except_complex_half
- c10_declare_registry
- c10_declare_shared_registry
- c10_declare_typed_registry
- c10_define_registry
- c10_define_shared_registry
- c10_define_shared_registry_without_warning
- c10_define_typed_registry
- c10_define_typed_registry_without_warning
- c10_register_class
- c10_register_class_with_priority
- c10_register_creator_with_priority
- c10_register_guard_impl
- c10_register_typed_class
- c10_register_typed_class_with_priority
- c10_register_typed_creator
- c10_register_typed_creator_with_priority
- define_constant
Functions
- absolute_difference
- align_addr
- align_down
- align_to_a
- align_to_b
- alignment_adjustment
- alloc_cpu
- api_usage_debug
- binary_to_float
- bits_to_double
- bits_to_float
- c10_cuda_private_test
- c10_cuda_test
- c10_has_cuda_gpu
- c10_test::register_foo_bar_fallback
- c10_test::register_foo_bar_preferred
- c10_test::register_foo_default
- c10_test::register_foo_default_again
- can_cast
- canonical_axis_index
- check_big
- check_data
- check_env
- check_gpu
- check_not_null_a
- check_not_null_b
- check_not_null_common
- check_python_gil
- check_small
- checked_convert
- compute_dispatch_key
- convert
- copy_
- copy_bytes
- copy_not_allowed
- copysign_bf16
- copysign_f16
- count_leading_ones
- count_leading_zeros
- count_population
- count_trailing_ones
- count_trailing_zeros
- create_and_sort_mem_events
- current_device
- current_stream_capture_status_may_init_ctx
- delete
- delete_inefficient_std_function_context
- delete_placement_delete_context
- demangle
- demangle_type
- deprecated_at_assert
- deprecated_at_assertm
- deprecated_at_error
- device
- device_count
- device_count_ensure_non_zero
- device_count_impl
- device_index
- device_or_default
- device_synchronize
- directory_exists
- dispatch_key_to_device_type
- dispatch_key_to_layout
- dispatch_key_to_tensor_options
- divide_ceil
- double_to_bits
- driver_version
- dtype
- dtype_or_default_scalar_type
- dtype_or_default_type_meta
- dtype_with_scalartype
- dtype_with_typemeta
- element_size
- enforce_fail_msg_impl_a
- enforce_fail_msg_impl_b
- enforce_that_impl
- exclude_file_extension
- expect_throws_eq
- extract
- fail_check
- fail_internal_assert
- find_first_set
- find_last_set
- float_from_bytes
- float_to_bits
- force_tls_local_dispatch_key_set
- formulate_greedy_allocation_plan
- free_cpu
- fully_qualified_type_name_impl
- get_allocator
- get_api_usage_logger
- get_assertion_argument
- get_autocast_related_key_set_from_backend
- get_autograd_key_from_backend
- get_autograd_meta_factory
- get_autograd_related_key_set_from_backend
- get_backend_key_set_from_autograd
- get_backtrace
- get_base_handler
- get_channels_last_strides_2d
- get_channels_last_strides_3d
- get_contiguous_memory_format
- get_cpu_allocator
- get_cpu_caching_allocator
- get_cuda_check_suffix
- get_current_numa_node
- get_ddp_usage_logger
- get_default_complex_dtype
- get_default_cpu_allocator
- get_default_dtype
- get_default_dtype_as_scalartype
- get_default_mobile_cpu_allocator
- get_default_tensor_options
- get_device_guard_impl
- get_exception_string
- get_fetch_stack_trace
- get_fully_qualified_type_name
- get_idx
- get_non_deterministic_random
- get_num_numa_nodes
- get_numa_node
- get_runtime_dispatch_key_set
- get_thread_local_allocation_planner
- get_thread_local_caching_allocator
- get_thread_local_profiling_allocator
- get_type_index
- get_warn_always
- get_warning_handler
- greatest_common_divisor64
- has_device_guard_impl
- hi_32
- init_caffe_logging
- init_device_stream_state
- init_global_stream_state
- is_alias_dispatch_key
- is_api_usage_debug_mode
- is_backend_dispatch_key
- is_channels_last_strides_2d
- is_channels_last_strides_2d_s4
- is_channels_last_strides_3d
- is_channels_last_strides_3d_s5
- is_complex_type
- is_floating_type
- is_included_in_alias
- is_int
- is_integral_type_a
- is_integral_type_b
- is_intn
- is_mask_32
- is_mask_64
- is_numa_enabled
- is_power_of2_32
- is_power_of2_64
- is_print
- is_qint_type
- is_shifted_int
- is_shifted_mask_32
- is_shifted_mask_64
- is_shifted_uint
- is_signed_type
- is_uintn
- is_underlying
- is_using_google_logging
- is_valid_device_type
- join
- key_str_repr_a
- key_str_repr_b
- layout
- layout_from_backend
- layout_or_default
- legacy_extract_dispatch_key
- lo_32
- log2
- log2_32
- log2_32_ceil
- log2_64
- log2_64_ceil
- log_api_usage
- log_api_usage_fake_return
- log_message_fatal
- log_py_torch_ddp_usage
- make_64
- make_big
- make_filename
- make_scope_exit
- make_small
- make_stream_id
- make_tempdir
- make_tempfile
- mask_leading_ones
- mask_leading_zeros
- mask_trailing_ones
- mask_trailing_zeros
- max_intn
- max_uintn
- maybe_wrap_dim
- memory_format
- memory_profiling_enabled
- memset_junk
- min_align
- min_intn
- multiply_integers_a
- needs_real
- new
- new_not_default
- next_power_of2
- no_delete
- noop_decref_fn
- noop_name_fn
- numa_bind
- numa_move
- numelements_between_dim
- numelements_from_dim
- numelements_to_dim
- offset_to_alignment
- opt_type_meta_to_scalar_type
- overlaps
- parse_type
- pinned_memory_or_default
- placement_delete
- placement_new
- placement_new_not_default
- pointer_within
- power_of_2ceil
- power_of_2floor
- print_quoted_string
- print_sequence
- profiled_cpu_memory_reporter
- promote_types
- read_urandom_long
- replace_all
- report_memory_usage_to_profiler
- requires_grad
- reverse_bits
- saturating_add
- saturating_multiply
- saturating_multiply_add
- scalar_type_to_type_meta
- self_move
- set_allocator
- set_api_usage_logger
- set_autograd_meta_factory
- set_cpu_allocator
- set_cpu_caching_allocator
- set_default_dtype
- set_device
- set_py_torch_ddp_usage_logger
- set_python_gil_hooks
- set_stack_trace_fetcher
- set_thread_name
- set_warn_always
- set_warning_handler
- show_log_info_to_stderr
- sign_extend32_a
- sign_extend32_b
- sign_extend64_a
- sign_extend64_b
- size_between_dim
- size_from_dim
- size_to_dim
- stream
- stream_id_index
- stream_id_type
- strip_basename
- sum_integers_a
- throw_enforce_finite_not_met_a
- throw_enforce_finite_not_met_b
- throw_enforce_finite_not_met_c
- throw_enforce_not_met_a
- throw_enforce_not_met_b
- throw_enforce_not_met_c
- throw_func
- throw_runtime_type_logic_error
- tls_is_dispatch_key_excluded
- tls_is_dispatch_key_included
- tls_is_dispatch_keyset_excluded
- tls_is_dispatch_keyset_included
- tls_local_dispatch_key_set
- tls_set_dispatch_key_excluded
- tls_set_dispatch_key_included
- to_complex_type
- to_qint_type
- to_underlying
- to_value_type
- to_vectorint64_t
- torch_check_fail_a
- torch_check_fail_b
- torch_check_msg_impl
- torch_internal_assert_fail_a
- torch_internal_assert_fail_b
- try_make_tempdir
- try_make_tempfile
- type_index_impl
- type_meta_to_scalar_type
- validate_allocation_plan
- warn_a
- warn_b
- warn_c
Type Definitions
- APIUsageLoggerType
- Align4
- BitsetType
- CaptureId
- CopyBytesFunction
- DDPUsageLoggerType
- DataType
- DeviceIndex
- MaybeTestGuard
- MemoryDeleter
- MempoolId
- MultiTestGuard
- OptionalTestGuard
- PlacementDtor
- PyInterpreterDecrefSig
- PyInterpreterNameSig
- Qint8Underlying
- Quint4x2Underlying
- Quint8Underlying
- RegistryCreator
- SizesConstIterator
- SizesIterator
- StreamId
- StridesConstIterator
- StridesIterator
- type_meta::Copy
- type_meta::Delete
- type_meta::New
- type_meta::PlacementDelete
- type_meta::PlacementNew
- type_meta_data::Copy
- type_meta_data::Delete
- type_meta_data::New
- type_meta_data::PlacementDelete
- type_meta_data::PlacementNew
- underlying
Constants
- C10_COMPILE_TIME_MAX_GPUS
- C10_SIZES_AND_STRIDES_MAX_INLINE_SIZE
- CAFFE2_LOG_THRESHOLD
- CAFFE2_SEVERITY_PREFIX
- COMPILE_TIME_MAX_DEVICE_TYPES
- COMPILE_TIME_NUM_QSCHEMES
- CRC64_TABLE
- CUDA_MAX_THREADS_PER_BLOCK
- CUDA_MAX_THREADS_PER_SM
- CUDA_THREADS_PER_BLOCK_FALLBACK
- DEFAULT_RNG_SEED_VAL
- DISPATCH_KEY_AUTOCAST_CUDA
- DISPATCH_KEY_AUTOGRAD_PRIVATEUSE1
- DISPATCH_KEY_AUTOGRAD_PRIVATEUSE2
- DISPATCH_KEY_AUTOGRAD_PRIVATEUSE3
- DISPATCH_KEY_CATCHALL
- DISPATCH_KEY_COMPOSITE_EXPLICIT_AUTOGRAD
- DISPATCH_KEY_CPU
- DISPATCH_KEY_CUDA
- DISPATCH_KEY_PRIVATEUSE3
- DISPATCH_KEY_UNDEFINED
- DISPATCH_KEY_ZERO
- FAKE_GUARD_IMPL_MAX_DEVICES
- GLOG_ERROR
- GLOG_FATAL
- GLOG_INFO
- GLOG_WARNING
- G_ALIGNMENT
- HAS_DEMANGLE
- KCUDA
- KFBGEMM
- KFPGA
- KMSNPU
- KQNNPACK
- K_AUTOGRAD
- K_CPU
- K_HIP
- K_HPU
- K_META
- K_METAL
- K_MKLDNN
- K_MLC
- K_NO_QENGINE
- K_PER_CHANNEL_AFFINE
- K_PER_CHANNEL_AFFINE_FLOAT_QPARAMS
- K_PER_CHANNEL_SYMMETRIC
- K_PER_TENSOR_AFFINE
- K_PER_TENSOR_SYMMETRIC
- K_SPARSE
- K_SPARSE_CSR
- K_STRIDED
- K_VULKAN
- K_XLA
- K_XPU
- MaxTypeIndex
- NUM_SCALAR_TYPES
- TLS_DEBUG_INFO