Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/core/ops/
Dto_format.cc29 void ToFormat::set_src_t(const int64_t src_t) { (void)this->AddAttr(kSrcT, MakeValue(src_t)); } in set_src_t() argument
41 void ToFormat::Init(const int64_t src_t, const int64_t dst_t) { in Init() argument
42 this->set_src_t(src_t); in Init()
Dquant_dtype_cast.cc21 void QuantDTypeCast::set_src_t(const int64_t src_t) { (void)AddAttr(kSrcT, MakeValue(src_t)); } in set_src_t() argument
28 void QuantDTypeCast::Init(const int64_t src_t, const int64_t dst_t) { in Init() argument
29 this->set_src_t(src_t); in Init()
Dto_format.h35 void Init(const int64_t src_t, const int64_t dst_t);
36 void set_src_t(const int64_t src_t);
Dquant_dtype_cast.h49 void Init(const int64_t src_t, const int64_t dst_t);
54 void set_src_t(const int64_t src_t);
/third_party/boost/boost/python/object/
Dvalue_holder.hpp90 type_info src_t = python::type_id<Value>(); in holds() local
91 return src_t == dst_t ? boost::addressof(m_held) in holds()
92 : find_static_type(boost::addressof(m_held), src_t, dst_t); in holds()
99 type_info src_t = python::type_id<Value>(); in holds() local
102 if (dst_t == src_t) in holds()
107 return find_static_type(x, src_t, dst_t); in holds()
Dpointer_holder.hpp152 type_info src_t = python::type_id<non_const_value>(); in holds() local
153 return src_t == dst_t ? p : find_dynamic_type(p, src_t, dst_t); in holds()
172 type_info src_t = python::type_id<Value>(); in holds() local
173 return src_t == dst_t ? p : find_dynamic_type(p, src_t, dst_t); in holds()
Dinheritance.hpp27 class_id src_t, class_id dst_t, void* (*cast)(void*), bool is_downcast);
/third_party/boost/libs/python/src/object/
Dinheritance.cpp390 inline void* convert_type(void* const p, class_id src_t, class_id dst_t, bool polymorphic) in convert_type() argument
393 index_entry* src_p = seek_type(src_t); in convert_type()
405 : std::make_pair(p, src_t); in convert_type()
410 cache_element seek(boost::make_tuple(src_t, dst_t, offset, dynamic_id.second)); in convert_type()
424 smart_graph const& g = polymorphic && dynamic_id.second != src_t in convert_type()
441 BOOST_PYTHON_DECL void* find_dynamic_type(void* p, class_id src_t, class_id dst_t) in find_dynamic_type() argument
443 return convert_type(p, src_t, dst_t, true); in find_dynamic_type()
446 BOOST_PYTHON_DECL void* find_static_type(void* p, class_id src_t, class_id dst_t) in find_static_type() argument
448 return convert_type(p, src_t, dst_t, false); in find_static_type()
452 class_id src_t, class_id dst_t, cast_function cast, bool is_downcast) in add_cast() argument
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_opcodes.py229 for src_t in [tint, tuint, tfloat, tbool]:
230 if src_t == tbool:
232 elif src_t == tint:
234 elif src_t == tuint:
236 elif src_t == tfloat:
241 if dst_bit_size == 16 and dst_t == tfloat and src_t == tfloat:
263 unop_numeric_convert("{0}2{1}{2}{3}".format(src_t[0],
268 src_t, conv_expr)
269 elif dst_bit_size == 32 and dst_t == tfloat and src_t == tfloat:
277 unop_numeric_convert("{0}2{1}{2}".format(src_t[0], dst_t[0],
[all …]
/third_party/mindspore/mindspore/lite/tools/converter/legacy_optimizer/fusion/
Dquant_cast_fusion_pass.cc64 if (srcAttr->dst_t != dstAttr->src_t) { in DoFusion()
75 if (srcAttr->src_t == dstAttr->dst_t) { in DoFusion()
82 dstAttr->src_t = srcAttr->src_t; in DoFusion()
/third_party/mindspore/mindspore/lite/tools/converter/legacy_optimizer/graph/
Ddtype_trans_pass.h75 QuantDTypeCastParam->src_t = oldQuantDTypeCastParam->src_t;
Ddtype_trans_pass.cc284 quant_dtype_cast_param->src_t = input_data_type; in InsertDTypeTransNode()
/third_party/boost/boost/python/
Dcast.hpp78 typedef typename detail::add_cv<Source>::type src_t; in upcast_impl() typedef
80 bool const same = detail::is_same<src_t,target_t>::value; in upcast_impl()
/third_party/boost/boost/gil/
Dcolor_convert.hpp161 using src_t = typename channel_type<SrcPixel>::type; in operator ()() typedef
162 src_t const r = get_color(src, red_t()); in operator ()()
163 src_t const g = get_color(src, green_t()); in operator ()()
164 src_t const b = get_color(src, blue_t()); in operator ()()
/third_party/mindspore/mindspore/lite/src/ops/populate/
Dquant_dtype_cast_populate.cc39 param->srcT = value->src_t(); in PopulateQuantDTypeCastParameter()
/third_party/mindspore/mindspore/lite/tools/common/
Dgraph_util.cc529 if (prim->src_t == TypeId::kNumberTypeUInt8) { in InsertNodeBefore()
542 preTensor->dataType = prim->src_t; in InsertNodeBefore()
613 } else if (prim->src_t == TypeId::kNumberTypeUInt8) { in InsertNodeAfter()
620 postTensor->dataType = prim->src_t; in InsertNodeAfter()
/third_party/mindspore/mindspore/lite/mindir/include/
Dmindir.h280 PrimitivePtr MindIR_QuantDTypeCast_CreatePrimitive(int64_t src_t, int64_t dst_t);
282 void MindIR_QuantDTypeCast_SetSrcT(PrimitivePtr *primitive, int64_t src_t);
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c2128 struct pipe_transfer *src_t, *dst_t; in handle_copy_image_to_buffer2_khr() local
2147 &src_t); in handle_copy_image_to_buffer2_khr()
2187 src_data, src_format, src_t->stride, src_t->layer_stride, 0, 0, 0); in handle_copy_image_to_buffer2_khr()
2195 src_data, src_t->stride, src_t->layer_stride, 0, 0, 0); in handle_copy_image_to_buffer2_khr()
2197 state->pctx->texture_unmap(state->pctx, src_t); in handle_copy_image_to_buffer2_khr()
2209 struct pipe_transfer *src_t, *dst_t; in handle_copy_buffer_to_image() local
2227 &src_t); in handle_copy_buffer_to_image()
2281 state->pctx->buffer_unmap(state->pctx, src_t); in handle_copy_buffer_to_image()
2831 struct pipe_transfer *src_t; in handle_copy_query_pool_results() local
2841 &src_t); in handle_copy_query_pool_results()
[all …]
/third_party/mindspore/mindspore/lite/schema/
Dops.fbs868 src_t: long;
Dops_generated.h9003 int64_t src_t() const {
9021 void add_src_t(int64_t src_t) {
9022 fbb_.AddElement<int64_t>(QuantDTypeCast::VT_SRC_T, src_t, 0);
9040 int64_t src_t = 0,
9044 builder_.add_src_t(src_t);
/third_party/mindspore/mindspore/lite/mindir/src/
Dmindir.cc2814 PrimitivePtr MindIR_QuantDTypeCast_CreatePrimitive(int64_t src_t, int64_t dst_t) { in MindIR_QuantDTypeCast_CreatePrimitive() argument
2816 auto ops_offset = schema::CreateQuantDTypeCast(fbb, src_t, dst_t); in MindIR_QuantDTypeCast_CreatePrimitive()
2829 return value->src_t(); in MindIR_QuantDTypeCast_GetSrcT()
2838 void MindIR_QuantDTypeCast_SetSrcT(PrimitivePtr *primitive, int64_t src_t) { in MindIR_QuantDTypeCast_SetSrcT() argument
2844 auto ops_offset = schema::CreateQuantDTypeCast(fbb, src_t, value->dst_t()); in MindIR_QuantDTypeCast_SetSrcT()
2874 auto ops_offset = schema::CreateQuantDTypeCast(fbb, value->src_t(), dst_t); in MindIR_QuantDTypeCast_SetDstT()
Dmindir_nnrt_lite_graph_to_model.cc874 quant_d_type_cast.srcT = value->src_t(); in ConvertQuantDTypeCast()
/third_party/mindspore/mindspore/lite/src/ops/
Dops_def.cc868 OP_ATTR(src_t, long)
/third_party/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf859 type src_t, file_type, mountpoint;
1282 allow src_t fs_t:filesystem associate;
1283 allow src_t noxattrfs:filesystem associate;
/third_party/mindspore/mindspore/lite/schema/inner/
Dops_generated.h13935 int64_t src_t = 0;
13949 int64_t src_t() const {
13976 void add_src_t(int64_t src_t) {
13977 fbb_.AddElement<int64_t>(QuantDTypeCast::VT_SRC_T, src_t, 0);
13995 int64_t src_t = 0,
13999 builder_.add_src_t(src_t);
22727 { auto _e = src_t(); _o->src_t = _e; }
22739 auto _src_t = _o->src_t;