Home
last modified time | relevance | path

Searched defs:is_cuda (Results 1 – 18 of 18) sorted by relevance

/aosp_15_r20/external/pytorch/test/distributions/
H A Dtest_constraints.py85 def build_constraint(constraint_fn, args, is_cuda=False): argument
102 def test_constraint(constraint_fn, result, value, is_cuda): argument
119 def test_biject_to(constraint_fn, args, is_cuda): argument
160 def test_transform_to(constraint_fn, args, is_cuda): argument
/aosp_15_r20/external/pytorch/test/cpp/api/
H A Dtransformer.cpp55 bool is_cuda, in transformer_encoder_layer_test_helper()
247 bool is_cuda, in transformer_decoder_layer_test_helper()
453 bool is_cuda, in transformer_decoder_layer_test_helper_gelu()
566 bool is_cuda, in transformer_encoder_test_helper()
840 bool is_cuda, in transformer_decoder_test_helper()
1366 void transformer_test_helper(bool is_cuda, bool use_callable_activation) { in transformer_test_helper()
H A Dserialize.cpp891 bool is_cuda = false) { in TEST()
/aosp_15_r20/external/pytorch/aten/src/ATen/
H A DAccumulateType.cpp27 c10::ScalarType toAccumulateType(c10::ScalarType type, bool is_cuda) { in toAccumulateType()
/aosp_15_r20/external/pytorch/c10/core/
H A DGeneratorImpl.cpp90 uint64_t getNonDeterministicRandom(bool is_cuda) { in getNonDeterministicRandom()
H A DDevice.h81 bool is_cuda() const noexcept { in is_cuda() function
H A DTensorImpl.h1105 bool is_cuda() const { in is_cuda() function
/aosp_15_r20/external/pytorch/test/
H A Dtest_foreach.py77 def __call__(self, inputs, is_cuda, expect_fastpath, **kwargs): argument
142 def is_cuda(self): member in TestForeach
/aosp_15_r20/external/pytorch/torch/csrc/api/include/torch/nn/utils/
H A Drnn.h151 bool is_cuda() const { in is_cuda() function
/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A DDeprecatedTypeProperties.h45 bool is_cuda() const { in is_cuda() function
H A Dinterned_strings.cpp136 bool Symbol::is_cuda() const { return ns() == namespaces::cuda; } in is_cuda() function in c10::Symbol
H A DTensorBase.h431 bool is_cuda() const { in is_cuda() function
/aosp_15_r20/external/pytorch/torch/_inductor/runtime/
H A Dhints.py178 def is_cuda(self): member in HalideMeta
/aosp_15_r20/external/pytorch/torch/nn/utils/_expanded_weights/
H A Dexpanded_weights_impl.py169 def is_cuda(self): member in ExpandedWeight
/aosp_15_r20/external/pytorch/torch/
H A Dstorage.py193 def is_cuda(self): member in _StorageBase
459 def is_cuda(self): member in UntypedStorage
858 def is_cuda(self): member in TypedStorage
/aosp_15_r20/external/pytorch/torch/nn/utils/
H A Drnn.py215 def is_cuda(self) -> bool: member in PackedSequence
/aosp_15_r20/external/pytorch/torch/csrc/tensor/
H A Dpython_tensor.cpp37 bool is_cuda; member
/aosp_15_r20/external/pytorch/torch/cuda/
H A D__init__.py1310 is_cuda = True variable in _CudaBase