/external/pytorch/c10/core/ |
D | UndefinedTensorImpl.cpp | 7 UndefinedTensorImpl::UndefinedTensorImpl() in UndefinedTensorImpl() function in c10::UndefinedTensorImpl 15 bool UndefinedTensorImpl::is_contiguous_custom(MemoryFormat format) const { in is_contiguous_custom() 18 IntArrayRef UndefinedTensorImpl::strides_custom() const { in strides_custom() 21 SymIntArrayRef UndefinedTensorImpl::sym_strides_custom() const { in sym_strides_custom() 26 bool UndefinedTensorImpl::has_storage() const { in has_storage() 33 void UndefinedTensorImpl::set_storage_offset(int64_t) { in set_storage_offset() 37 const char* UndefinedTensorImpl::tensorimpl_type_name() const { in tensorimpl_type_name() 42 UndefinedTensorImpl& UndefinedTensorImpl::getInstance() { in getInstance() 43 static UndefinedTensorImpl instance; in getInstance() 47 UndefinedTensorImpl UndefinedTensorImpl::_singleton;
|
D | UndefinedTensorImpl.h | 12 struct C10_API UndefinedTensorImpl final : public TensorImpl { 40 UndefinedTensorImpl(); 42 static UndefinedTensorImpl& getInstance(); 44 static UndefinedTensorImpl _singleton;
|
/external/pytorch/aten/src/ATen/core/ |
D | UnsafeFromTH.h | 7 …auto tensor_impl = c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl>::reclaim(static_cast<Tensor… in unsafeTensorFromTH() 8 if (retain && tensor_impl.get() != UndefinedTensorImpl::singleton()) { in unsafeTensorFromTH()
|
D | ivalue.h | 224 payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton()) { in IValue() 389 if (payload.u.as_intrusive_ptr == c10::UndefinedTensorImpl::singleton()) { in use_count() 1068 return payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton() in internalToPointer() 1158 c10::UndefinedTensorImpl::singleton()); in null_to_undefined_tensor() 1196 c10::intrusive_ptr<intrusive_ptr_target, c10::UndefinedTensorImpl>:: in destroy() 1328 c10::UndefinedTensorImpl::singleton(); in isIntrusivePtrLegacyBehavior() 1386 payload.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton()) { in WeakIValue() 1399 if (payload.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton()) { in WeakIValue() 1409 payload.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton()) { in ~WeakIValue() 1440 c10::weak_intrusive_ptr<at::TensorImpl, c10::UndefinedTensorImpl>:: in lock() [all …]
|
D | TensorBase.h | 91 : impl_(c10::intrusive_ptr<at::TensorImpl, UndefinedTensorImpl>::reclaim(rhs.impl_.get())) {} in TensorBase() 99 c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl> tensor_impl) in TensorBase() 112 c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl> tensor_impl) { in wrap_tensor_impl() 193 const c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl>& getIntrusivePtr() const { in getIntrusivePtr() 197 c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl> unsafeReleaseIntrusivePtr() { in unsafeReleaseIntrusivePtr() 917 c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl> impl_;
|
D | ivalue_inl.h | 63 payload.u.as_intrusive_ptr == c10::UndefinedTensorImpl::singleton() in moveToIntrusivePtr() 71 if (payload.u.as_intrusive_ptr == c10::UndefinedTensorImpl::singleton()) { in toIntrusivePtr() 1682 …TORCH_INTERNAL_ASSERT_DEBUG_ONLY(payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton… 1973 payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton(), 1981 payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton(), 1989 payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton(), 2005 payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton(), 2021 payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton(), 2045 payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton(), 2061 payload.u.as_intrusive_ptr != c10::UndefinedTensorImpl::singleton(), [all …]
|
/external/pytorch/c10/util/ |
D | ExclusivelyOwnedTensorTraits.h | 36 const bool isUndefined = toDestroy == UndefinedTensorImpl::singleton(); in destroyOwned() 47 toDestroy == UndefinedTensorImpl::singleton()), in destroyOwned()
|
/external/pytorch/aten/src/ATen/test/ |
D | lazy_tensor_test.cpp | 7 c10::make_intrusive<c10::TensorImpl, c10::UndefinedTensorImpl>( in LazyTensorTest()
|
D | xla_tensor_test.cpp | 34 auto tensor_impl = c10::make_intrusive<TensorImpl, UndefinedTensorImpl>( in TEST()
|
D | undefined_tensor_test.cpp | 72 ASSERT_EQ(to_move.unsafeGetTensorImpl(), UndefinedTensorImpl::singleton()); in TEST()
|
D | extension_backend_test.cpp | 21 auto tensor_impl = c10::make_intrusive<TensorImpl, UndefinedTensorImpl>( in empty_override()
|
/external/pytorch/aten/src/ATen/ |
D | CachedTensorUtils.cpp | 9 using weakref_type = c10::weak_intrusive_ptr<TensorImpl, UndefinedTensorImpl>;
|
D | autocast_mode.cpp | 36 using weakref_type = c10::weak_intrusive_ptr<TensorImpl, UndefinedTensorImpl>;
|
/external/pytorch/test/cpp_extensions/ |
D | maia_extension.cpp | 9 auto tensor_impl = c10::make_intrusive<TensorImpl, UndefinedTensorImpl>( in get_tensor()
|
/external/pytorch/aten/src/ATen/templates/ |
D | TensorBody.h | 107 c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl> tensor_impl) in Tensor() 119 c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl> tensor_impl) { in wrap_tensor_impl()
|
/external/executorch/extension/tensor/ |
D | tensor_impl_ptr.h | 43 c10::intrusive_ptr<executorch::aten::TensorImpl, at::UndefinedTensorImpl>;
|
/external/pytorch/torch/csrc/api/include/torch/optim/ |
D | serialize.h | 274 at::UndefinedTensorImpl::singleton())) { \
|
/external/pytorch/functorch/csrc/dim/ |
D | arena.h | 246 … c10::intrusive_ptr<at::TensorImpl, at::UndefinedTensorImpl>::reclaim(t->unsafeGetTensorImpl());
|
/external/pytorch/torch/csrc/ |
D | PyInterpreter.cpp | 198 c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>:: 937 Tensor(c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>:: in reset_backward_hooks()
|
/external/pytorch/torch/csrc/jit/python/ |
D | init.cpp | 1598 c10::make_intrusive<at::TensorImpl, at::UndefinedTensorImpl>( in initJITBindings() 1630 c10::make_intrusive<at::TensorImpl, at::UndefinedTensorImpl>( in initJITBindings()
|
/external/pytorch/torch/csrc/autograd/ |
D | python_variable.cpp | 2346 auto p = c10::intrusive_ptr<c10::TensorImpl, at::UndefinedTensorImpl>:: in initTensorImplConversion()
|