Home
last modified time | relevance | path

Searched defs:self_ (Results 1 – 25 of 112) sorted by relevance

12345

/external/pytorch/tools/autograd/templates/
Dpython_variable_methods.cpp72 auto& self_ = THPVariable_Unpack(self); in THPVariable__is_view() local
90 auto& self_ = THPVariable_Unpack(self); in THPVariable_apply_() local
107 auto& self_ = THPVariable_Unpack(self); in THPVariable_size() local
141 auto& self_ = THPVariable_Unpack(self); in THPVariable_stride() local
174 static PyObject * THPVariable_get_device(PyObject* self_, PyObject* args) in THPVariable_get_device()
185 static PyObject * THPVariable_has_names(PyObject* self_, PyObject* args) in THPVariable_has_names()
197 static PyObject * THPVariable_data_ptr(PyObject* self_, PyObject* args) in THPVariable_data_ptr()
209 static PyObject * THPVariable_storage_offset(PyObject* self_, PyObject* args) in THPVariable_storage_offset()
227 auto& self_ = THPVariable_Unpack(self); in THPVariable_dim() local
239 auto& self_ = THPVariable_Unpack(self); in THPVariable_numel() local
[all …]
/external/pytorch/aten/src/ATen/functorch/
DBatchRulesViews.cpp97 auto self_ = moveBatchDimToFront(self, self_bdim); in unsqueeze_batch_rule() local
111 auto self_ = moveBatchDimToFront(self, self_bdim); in repeat_batch_rule() local
123 auto self_ = moveBatchDimToFront(self, self_bdim); in _unsafe_view_batch_rule() local
141 auto self_ = moveBatchDimToFront(self, self_bdim); in flip_batch_rule() local
275 auto self_ = moveBatchDimToFront(self, bdim); in _reshape_alias_batch_rule() local
285 auto self_ = moveBatchDimToFront(self, bdim); in roll_batch_rule() local
313 auto self_ = moveBatchDimToFront(self, self_bdim); in diagonal_batching_rule() local
341 auto self_ = moveBatchDimToFront(self, self_bdim); in slice_batch_rule() local
367 auto self_ = moveBatchDimToFront(self, self_bdim); in transpose_int_batch_rule() local
381 auto self_ = moveBatchDimToFront(self, self_bdim); in permute_batching_rule() local
[all …]
DBatchRulesUnaryOps.cpp41 auto self_ = moveBatchDimToFront(self, self_bdim); in clone_batch_rule() local
57 auto self_ = moveBatchDimToFront(self, self_bdim); in view_as_complex_batch_rule() local
DBatchRulesActivation.cpp24 const auto self_ = moveBatchDimToFront(self, self_bdim); in glu_batch_rule() local
45 …const auto self_ = ensure_has_bdim(moveBatchDimToFront(self, self_bdim), self_bdim.has_value(), ba… in glu_backward_batch_rule() local
DBatchRulesReduceOps.cpp359 auto self_ = moveBatchDimToFront(self, self_bdim); in searchsorted_batch_rule() local
365 auto self_ = moveBatchDimToFront(self, self_bdim); in searchsorted_batch_rule() local
373 auto self_ = reshape_dim_into(*self_bdim, -1, self); in searchsorted_batch_rule() local
383 auto self_ = moveBatchDimToFront(self, self_bdim); in searchsorted_batch_rule() local
392 auto self_ = ensure_has_bdim(self, false, bdim_size); in searchsorted_batch_rule() local
DBatchRulesPooling.cpp25 auto self_ = moveBatchDimToFront(self, self_bdim); in max_pool_with_indices_batch_rule_helper() local
32 auto self_ = reshape_dim_into(*self_bdim, 0, self); in max_pool_with_indices_batch_rule_helper() local
DBatchRulesScatterOps.cpp233 auto self_ = moveBatchDimToFront(self, self_bdim); in index_batch_rule() local
411 Tensor self_ = moveBatchDimToFront(self, self_bdim); local
684 auto self_ = moveBatchDimToFront(self, self_bdim); in scatter_batch_rule() local
717 auto self_ = moveBatchDimToFront(self, self_bdim); in scatter_batch_rule() local
801 auto self_ = moveBatchDimToFront(self, self_bdim); in gather_batch_rule() local
910 auto self_ = moveBatchDimToFront(self, self_bdim); in diagonal_scatter_batch_rule() local
941 auto self_ = moveBatchDimToFront(self, self_bdim); in index_add_batch_rule_impl() local
1013 auto self_ = self.clone(at::MemoryFormat::Preserve); in index_add_batch_rule() local
1056 Tensor & self_, in index_fill_batch_rule_helper()
1096 Tensor self_ = moveBatchDimToFront(self, self_bdim); in index_fill_int_scalar_batch_rule_impl() local
[all …]
/external/pytorch/torch/csrc/autograd/
Dpython_variable.cpp621 PyObject* self_, in THPVariable_view_func()
628 PyObject* self_, in THPVariable_view_func_unsafe()
634 static PyObject* rev_view_func_impl(PyObject* self_, PyObject* arg) { in rev_view_func_impl()
657 PyObject* self_, in THPVariable_rev_view_func_unsafe()
1378 auto& self_ = THPVariable_Unpack(self); in THPVariable_is_cpu() local
1388 auto& self_ = THPVariable_Unpack(self); in THPVariable_is_cuda() local
1398 auto& self_ = THPVariable_Unpack(self); in THPVariable_is_mtia() local
1408 auto& self_ = THPVariable_Unpack(self); in THPVariable_is_xla() local
1418 auto& self_ = THPVariable_Unpack(self); in THPVariable_is_ipu() local
1428 auto& self_ = THPVariable_Unpack(self); in THPVariable_is_xpu() local
[all …]
DVariableTypeManual.cpp122 auto& self_ = unpack(self, "self", 0); in _fw_primal() local
197 auto& self_ = unpack(self, "self", 0); in copy_() local
244 auto& self_ = unpack(self, "self", 0); in resize_() local
266 auto& self_ = unpack(self, "self", 0); in resize_as_() local
289 auto& self_ = unpack(self, "self", 0); in detach() local
Dpython_variable_indexing.cpp48 const auto& self_ = THPVariable_Unpack(self); in THPVariable_length() local
341 const auto& self_ = THPVariable_Unpack(self); in THPVariable_getitem() local
442 const auto& self_ = THPVariable_Unpack(self); in THPVariable_setitem() local
/external/python/cpython3/Lib/test/
Dtest_richcmp.py195 def __lt__(self_, other): return 0 argument
196 def __gt__(self_, other): return 0 argument
197 def __eq__(self_, other): return 0 argument
198 def __le__(self_, other): self.fail("This shouldn't happen") argument
199 def __ge__(self_, other): self.fail("This shouldn't happen") argument
200 def __ne__(self_, other): self.fail("This shouldn't happen") argument
/external/pytorch/torch/csrc/inductor/
Dinductor_ops.cpp44 Tensor self_ = at::detail::make_tensor<TensorImpl>( in _alloc_from_pool() local
64 Tensor self_ = at::detail::make_tensor<TensorImpl>( in _reinterpret_tensor() local
/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/ssl/
Dstream.hpp758 stream* self_; member in boost::asio::ssl::stream::initiate_async_handshake
794 stream* self_; member in boost::asio::ssl::stream::initiate_async_buffered_handshake
825 stream* self_; member in boost::asio::ssl::stream::initiate_async_shutdown
857 stream* self_; member in boost::asio::ssl::stream::initiate_async_write_some
889 stream* self_; member in boost::asio::ssl::stream::initiate_async_read_some
/external/rust/android-crates-io/crates/petgraph/src/
Dquickcheck.rs67 let self_ = self.clone(); in shrink() localVariable
147 let self_ = self.clone(); in shrink() localVariable
/external/pytorch/torch/csrc/
DLayout.cpp18 auto self_ = reinterpret_cast<THPLayout*>(self.get()); in THPLayout_New() local
DMemoryFormat.cpp20 auto self_ = reinterpret_cast<THPMemoryFormat*>(self.get()); in THPMemoryFormat_New() local
DQScheme.cpp18 auto self_ = reinterpret_cast<THPQScheme*>(self.get()); in THPQScheme_New() local
/external/pytorch/aten/src/ATen/native/quantized/cpu/
DTensorOperators.cpp97 auto* self_ = self.unsafeGetTensorImpl(); in AT_FORALL_OPERATORS() local
/external/pytorch/aten/src/ATen/native/sparse/cuda/
DSparseBlas.cpp105 c10::MaybeOwned<at::Tensor> self_; in addmm_out_sparse_compressed_cuda() local
229 c10::MaybeOwned<Tensor> self_ = expand_size(self, {mat.size(0)}); in addmv_out_sparse_compressed_cuda() local
/external/pytorch/aten/src/ATen/native/
DMaxUnpooling.cpp18 const Tensor& self_, in max_unpooling2d_forward_out_cpu()
160 Tensor& max_unpooling3d_forward_out_cpu(const Tensor& self_, in max_unpooling3d_forward_out_cpu()
DLerp.h21 C10_HOST_DEVICE C10_ALWAYS_INLINE scalar_t lerp(scalar_t self_, scalar_t end_, weight_t weight_) { in lerp()
/external/pytorch/aten/src/ATen/
DFunctionalizeFallbackKernel.cpp130 at::Tensor self_; in resize__functionalization() local
244 at::Tensor self_; in _to_copy_functionalize() local
295 auto self_ = at::functionalization::impl::from_functional_tensor(self); in _unsafe_view_functionalize() local
/external/pytorch/aten/src/ATen/native/cuda/
DResize.cpp56 auto* self_ = self.unsafeGetTensorImpl(); in resize_cuda_() local
/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/posix/
Dbasic_stream_descriptor.hpp437 basic_stream_descriptor* self_; member in boost::asio::posix::basic_stream_descriptor::initiate_async_write_some
470 basic_stream_descriptor* self_; member in boost::asio::posix::basic_stream_descriptor::initiate_async_read_some
/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/windows/
Dbasic_stream_handle.hpp430 basic_stream_handle* self_; member in boost::asio::windows::basic_stream_handle::initiate_async_write_some
463 basic_stream_handle* self_; member in boost::asio::windows::basic_stream_handle::initiate_async_read_some

12345