Home
last modified time | relevance | path

Searched refs:ref_type (Results 1 – 25 of 37) sorted by relevance

12

/external/pytorch/torch/utils/
Dweak.py120 def __init__(self, dict=None, ref_type=WeakIdRef): # CHANGED argument
123 self.ref_type = ref_type # CHANGED
168 del self.data[self.ref_type(key)] # CHANGED
171 return self.data[self.ref_type(key)] # CHANGED
184 self.data[self.ref_type(key, self._remove)] = value # CHANGED
208 return self.data.get(self.ref_type(key), default) # CHANGED
212 wr = self.ref_type(key) # CHANGED
261 return self.data.pop(self.ref_type(key), *args) # CHANGED
264 return self.data.setdefault(self.ref_type(key, self._remove), default) # CHANGED
272 d[self.ref_type(key, self._remove)] = value # CHANGED
/external/mesa3d/src/intel/compiler/
Dbrw_reg_type.h143 brw_type_with_size(enum brw_reg_type ref_type, unsigned bit_size) in brw_type_with_size() argument
147 assert(brw_type_is_int(ref_type) || bit_size >= 16); in brw_type_with_size()
148 unsigned base_field = ref_type & BRW_TYPE_BASE_MASK; in brw_type_with_size()
/external/rust/android-crates-io/crates/protobuf-codegen/src/gen/field/
Doption_kind.rs26 OptionKind::Option => RustType::Option(Box::new(element_type.ref_type())), in as_ref_type()
27 OptionKind::MessageField => RustType::MessageField(Box::new(element_type.ref_type())), in as_ref_type()
/external/pytorch/aten/src/ATen/test/
Dstride_properties_test.cpp60 …auto ref_type = TensorType::create(std::nullopt, std::nullopt, eager_tensor.sizes(), eager_tensor.… in TEST() local
64 auto ref_iter = (*(ref_type->stride_properties().sizes())).begin(); in TEST()
/external/sdv/vsomeip/third_party/boost/process/include/boost/process/
Derror.hpp114 typedef typename boost::fusion::result_of::deref<Iterator>::type ref_type; typedef
115 typedef typename std::remove_reference<ref_type>::type res_type_;
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_traits.h36 if (auto ref_type = in VerifyRefTypeMatch() local
38 return success(ref_type.RemoveRef().getTypeID() == type.getTypeID()); in VerifyRefTypeMatch()
/external/libdisplay-info/
DMETADATA7 homepage: "https://gitlab.freedesktop.org/emersion/libdisplay-info/-/tree/0.2.0?ref_type=tags"
/external/sdv/vsomeip/third_party/boost/any/include/boost/
Dany.hpp282 >::type ref_type; in any_cast() typedef
288 return static_cast<ref_type>(*result); in any_cast()
/external/sdv/vsomeip/third_party/boost/process/include/boost/process/detail/
Dexecute_impl.hpp115 typedef typename boost::fusion::result_of::deref<Iterator>::type ref_type; typedef
116 typedef typename std::remove_reference<ref_type>::type res_type;
/external/pytorch/.github/scripts/
Drunner_determinator.py140 github_token: str, repo: str, username: str, ref_type: str, ref_name: str
148 if username == "pytorch-bot[bot]" and ref_type == "tag":
/external/tensorflow/tensorflow/core/ir/types/
Ddialect.h335 if (auto ref_type = element_type.dyn_cast<TensorFlowRefType>()) { in GetElementTypeOrSelfResolveRef() local
336 element_type = ref_type.RemoveRef(); in GetElementTypeOrSelfResolveRef()
Ddialect.cc739 if (auto ref_type = a.dyn_cast<TensorFlowRefType>()) { in GetCastCompatibleType() local
740 a = ref_type.RemoveRef(); in GetCastCompatibleType()
/external/bpftool/src/
Djit_disasm.c73 uint64_t *ref_type, __maybe_unused uint64_t ref_PC, in symbol_lookup_callback() argument
76 *ref_type = LLVMDisassembler_ReferenceType_InOut_None; in symbol_lookup_callback()
/external/sdv/vsomeip/third_party/boost/optional/include/boost/optional/detail/
Doptional_trivially_copyable_base.hpp96 typedef BOOST_DEDUCED_TYPENAME optional<U>::rval_reference_type ref_type; in assign() typedef
98 m_storage = static_cast<ref_type>(rhs.get()); in assign()
Dold_optional_implementation.hpp274 typedef BOOST_DEDUCED_TYPENAME optional<U>::rval_reference_type ref_type; in assign() typedef
278 assign_value(static_cast<ref_type>(rhs.get()), is_reference_predicate() ); in assign()
284 construct(static_cast<ref_type>(rhs.get())); in assign()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinst_buff_addr_check_pass.cpp94 analysis::Type* ref_type = type_mgr->GetType(ref_type_id); in GenCheckCode() local
95 if (ref_type->AsPointer() != nullptr) { in GenCheckCode()
Dinst_bindless_check_pass.cpp609 analysis::Type* ref_type = type_mgr->GetType(ref_type_id); in GenCheckCode() local
610 if (ref_type->AsPointer() != nullptr) { in GenCheckCode()
/external/curl/packages/vms/
Dcompare_curl_source.com194 $ ref_type = f$parse(ref_spec,,,"TYPE")
217 $ ref_name_type = ref_name + ref_type
/external/pytorch/.github/workflows/
Dgenerated-linux-binary-manywheel-split-main31 …t-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && gi…
42 curr_ref_type: ${{ github.ref_type }}
/external/scapy/.config/ci/
Dopenldap-testdata.ldif2 … is https://git.openldap.org/openldap/openldap/-/blob/master/tests/data/ppolicy.ldif?ref_type=heads
/external/sdv/vsomeip/third_party/boost/optional/include/boost/optional/
Doptional.hpp322 typedef BOOST_DEDUCED_TYPENAME optional<U>::rval_reference_type ref_type; in assign() typedef
326 assign_value( static_cast<ref_type>(rhs.get()) ); in assign()
332 construct(static_cast<ref_type>(rhs.get())); in assign()
/external/pytorch/.github/templates/
Dcommon.yml.j215 …}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && gi…
/external/libaom/av1/encoder/
Dencodeframe_utils.h403 void av1_update_picked_ref_frames_mask(MACROBLOCK *const x, int ref_type,
/external/rust/android-crates-io/extra_versions/crates/protobuf-codegen/src/field/
Dmod.rs672 false => elem.rust_storage_type().ref_type(), in get_xxx_return_type()
1058 RustType::Option(e) => RustType::Option(Box::new(e.ref_type())), in as_option_type()
1728 ("ref v", elem.rust_storage_type().ref_type()) in write_message_field_get()
/external/rust/android-crates-io/extra_versions/crates/protobuf-codegen/src/
Dmessage.rs145 ("ref v", field.elem().rust_storage_type().ref_type()) in write_match_each_oneof_variant()

12