Home
last modified time | relevance | path

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

/external/pytorch/test/distributions/
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
/external/pytorch/test/cpp/api/
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()
Dserialize.cpp891 bool is_cuda = false) { in TEST()
/external/pytorch/aten/src/ATen/
DAccumulateType.cpp27 c10::ScalarType toAccumulateType(c10::ScalarType type, bool is_cuda) { in toAccumulateType()
/external/pytorch/c10/core/
DGeneratorImpl.cpp90 uint64_t getNonDeterministicRandom(bool is_cuda) { in getNonDeterministicRandom()
DDevice.h81 bool is_cuda() const noexcept { in is_cuda() function
DTensorImpl.h1105 bool is_cuda() const { in is_cuda() function
/external/pytorch/torch/csrc/api/include/torch/nn/utils/
Drnn.h151 bool is_cuda() const { in is_cuda() function
/external/pytorch/aten/src/ATen/core/
DDeprecatedTypeProperties.h45 bool is_cuda() const { in is_cuda() function
Dinterned_strings.cpp136 bool Symbol::is_cuda() const { return ns() == namespaces::cuda; } in is_cuda() function in c10::Symbol
DTensorBase.h431 bool is_cuda() const { in is_cuda() function
/external/pytorch/torch/nn/utils/_expanded_weights/
Dexpanded_weights_impl.py169 def is_cuda(self): member in ExpandedWeight
/external/pytorch/torch/_inductor/runtime/
Dhints.py178 def is_cuda(self): member in HalideMeta
/external/pytorch/test/
Dtest_foreach.py77 def __call__(self, inputs, is_cuda, expect_fastpath, **kwargs): argument
142 def is_cuda(self): member in TestForeach
/external/pytorch/torch/nn/utils/
Drnn.py215 def is_cuda(self) -> bool: member in PackedSequence
/external/pytorch/torch/csrc/tensor/
Dpython_tensor.cpp37 bool is_cuda; member
/external/pytorch/torch/
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
/external/pytorch/torch/cuda/
D__init__.py1310 is_cuda = True variable in _CudaBase