Home
last modified time | relevance | path

Searched defs:memory_format (Results 101 – 125 of 125) sorted by relevance

12345

/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A DTensorFactories.cpp390 auto memory_format = options.memory_format_opt().value_or(MemoryFormat::Preserve); in AT_FORALL_SCALAR_TYPES_AND3() local
448 auto memory_format = options.memory_format_opt().value_or(MemoryFormat::Preserve); in empty_like_quantized() local
1740 auto memory_format = in clone() local
H A DTensorConversions.cpp253 auto memory_format = optional_memory_format.value_or(MemoryFormat::Preserve); in _to_copy() local
407 auto memory_format = optional_memory_format.value_or(MemoryFormat::Preserve); in to_will_alias() local
H A DConvolution.cpp830 const auto memory_format = tensor.suggest_memory_format(); in subtensor() local
H A DTensorShape.cpp272 auto memory_format = cat_compute_output_memory_format(materialized); in TORCH_PRECOMPUTE_META_FUNC() local
/aosp_15_r20/external/pytorch/aten/src/ATen/quantized/
H A DQuantizer.cpp112 auto memory_format = options.memory_format_opt().value_or(MemoryFormat::Contiguous); in new_qtensor() local
/aosp_15_r20/external/pytorch/torch/csrc/lazy/core/
H A Dshape_inference.cpp1083 ::std::optional<at::MemoryFormat> memory_format) { in compute_shape__to_copy()
1092 ::std::optional<at::MemoryFormat> memory_format) { in compute_shape_clone()
/aosp_15_r20/external/pytorch/c10/core/
H A DTensorImpl.cpp922 void TensorImpl::empty_tensor_restride_symint(MemoryFormat memory_format) { in empty_tensor_restride_symint()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cuda/
H A DShape.cu289 int nDims, c10::MemoryFormat memory_format) { in parallel_cat()
/aosp_15_r20/external/pytorch/test/
H A Dtest_mps.py2311 def helper(size, memory_format): argument
6307 def helper(N, C, H, W, memory_format): argument
6689 def helper(shape, alpha=1.0, memory_format=torch.contiguous_format): argument
10285 def test_helper(shape, memory_format, device="mps"): argument
10295 def test_helper(shape, numel, memory_format, device="mps"): argument
10537 def helper(m_cpu, memory_format): argument
H A Dtest_legacy_vmap.py1780 def baz(x, memory_format): argument
H A Dtest_reductions.py1410 def _test_memory_format_transformations(self, device, input_generator_fn, transformation_fn, argument
/aosp_15_r20/external/executorch/kernels/portable/cpu/util/
H A Dcopy_ops_util.cpp733 exec_aten::optional<exec_aten::MemoryFormat> memory_format, in check_to_copy_args()
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/
H A Dregister_prim_ops.cpp636 auto memory_format = pop(stack).toMemoryFormat(); in __anonbfe5918f2b02() local
647 auto memory_format = pop(stack).toMemoryFormat(); in __anonbfe5918f2c02() local
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpython_arg_parser.h895 const auto memory_format = reinterpret_cast<THPMemoryFormat*>(args[i]); in memoryformat() local
/aosp_15_r20/external/pytorch/torch/_dynamo/variables/
H A Dtensor.py610 def method_is_contiguous(self, memory_format=None): argument
/aosp_15_r20/external/pytorch/torch/testing/_internal/distributed/
H A Ddistributed_test.py4204 self, model, input_var, target, loss, scale_factor=1.0, memory_format=None argument
4232 memory_format=None, argument
5845 def _test_DistributedDataParallel_SyncBatchNorm_with_memory_format( argument
/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dpython_sugared_value.cpp1168 auto memory_format = reinterpret_cast<THPMemoryFormat*>(obj.ptr()); in toSugaredValue() local
/aosp_15_r20/external/pytorch/torch/
H A D_meta_registrations.py693 memory_format=None, argument
3791 memory_format, argument
4770 memory_format=None, argument
/aosp_15_r20/external/pytorch/torch/_prims/
H A D__init__.py683 input: TensorLikeType, *, memory_format: torch.memory_format = torch.preserve_format argument
/aosp_15_r20/external/pytorch/torch/_decomp/
H A Ddecompositions.py2158 memory_format: Optional[torch.memory_format] = None, argument
5081 def resize_as(self, other, memory_format=None): argument
/aosp_15_r20/external/pytorch/test/inductor/
H A Dtest_torchinductor.py3505 def fn(a, memory_format): argument
9479 self, fn, x, size_or_y, memory_format, inplace, deterministic argument
9534 def fn(x, size, memory_format): argument
9569 def fn(x, y, memory_format): argument
/aosp_15_r20/external/pytorch/torch/csrc/jit/tensorexpr/
H A Dexternal_functions.cpp51 auto memory_format = deduce_memory_format(strides, sizes); in from_blob_quantized() local
/aosp_15_r20/external/pytorch/test/functorch/
H A Dtest_vmap.py2455 def baz(x, memory_format): argument
/aosp_15_r20/external/pytorch/torch/_inductor/
H A Dir.py2813 def stride_ordered_for_memory_format(sizes, memory_format): argument
/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A DFunctionsManual.cpp2196 const auto memory_format = indices.suggest_memory_format(); in max_pool_double_backward() local

12345