Home
last modified time | relevance | path

Searched defs:is_tuple (Results 1 – 25 of 31) sorted by relevance

12

/third_party/skia/src/core/
DSkEnumerate.h20 template <typename> struct is_tuple : std::false_type {}; struct
/third_party/skia/m133/src/core/
DSkEnumerate.h19 template <typename> struct is_tuple : std::false_type {}; struct
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/format_type/
Dinsert_transdata_for_runop.cc31 bool IsDepthwiseCase(const CNodePtr &node, size_t index, const std::string &format, bool is_tuple) { in IsDepthwiseCase()
46 bool NeedInsertTransDataForOutput(const CNodePtr &node, size_t index, bool is_tuple) { in NeedInsertTransDataForOutput()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/opapi/aclnn/
Dsplit_with_size_aclnn_kernel.cc40 bool is_tuple = tensor->type_id() == kObjectTypeTuple; in IsTuple() local
Dsplit_tensor_aclnn_kernel.cc41 bool is_tuple = tensor->type_id() == kObjectTypeTuple; in IsTuple() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/common/
Dfallback.cc96 bool is_tuple = base_shape->isa<abstract::TupleShape>() && type->isa<Tuple>(); in GenerateAbstractSequence() local
/third_party/rust/rust/compiler/rustc_target/src/abi/
Dmod.rs56 fn is_tuple(this: TyAndLayout<'a, Self>) -> bool; in is_tuple() method
114 pub fn is_tuple<C>(self) -> bool in is_tuple() method
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/graph_kernel/
Dset_infershape_functor.cc62 bool is_tuple = out_shapes_.size() > 1; in InferShape() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dsparse_concat.cc63 bool is_tuple = x->GetType()->object_type() == kObjectTypeTuple; in GetSequenceTypes() local
81 bool is_tuple = x->GetType()->object_type() == kObjectTypeTuple; in GetSequenceShapes() local
Dsparse_cross.cc48 bool is_tuple = x->GetType()->object_type() == kObjectTypeTuple; in GetCrossSequenceTypes() local
66 bool is_tuple = x->GetType()->object_type() == kObjectTypeTuple; in GetCrossSequenceShapes() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/grad/
Deinsum_grad.cc66 bool is_tuple = true; in EinsumGradInferType() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops_generate/
Darg_dtype_cast.py116 def is_tuple(type_id): function
/third_party/python/Lib/test/
Dtest_future.py163 self, annotation, expected=None, drop_parens=False, is_tuple=False, argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/optim/
Dadafactor.py134 def trans_to_tensor(param, is_tuple=False, fp32=True): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/operator/composite/
Dstarred_operation.cc188 int64_t is_tuple = GetValue<int64_t>(args_abs_list[is_tuple_index]->GetValueTrack()); in GetStarredUnpackMergeFlags() local
/third_party/mindspore/mindspore-src/source/tests/st/optimizer/
Dcame.py167 def trans_to_tensor(param, is_tuple=False, fp32=True): argument
/third_party/python/Lib/lib2to3/
Dfixer_util.py158 def is_tuple(node): function
/third_party/python/Objects/
Dgenericaliasobject.c371 int is_tuple = PyTuple_Check(item); in _unpack_args() local
437 int is_tuple = PyTuple_Check(item); in _Py_subs_parameters() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/fusion/
Dencoder_layer_fusion.cc137 …auto is_tuple = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimTupleGetItem), "tuple… in getTuple() local
460 …auto is_tuple = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimTupleGetItem), "tuple… in DefinePatternEncoderSigma() local
504 …auto is_tuple = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimTupleGetItem), "tuple… in DefinePatternEncoderAlpha() local
622 …auto is_tuple = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimTupleGetItem), "tuple… in DefinePatternEncoderLayer() local
Ddecoder_layer_fusion.cc129 …auto is_tuple = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimTupleGetItem), "tuple… in getTuple() local
/third_party/python/Lib/lib2to3/tests/
Dtest_util.py29 def is_tuple(self, string): member in Test_is_tuple
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/kernel/pyboost/
Dpyboost_utils.cc505 auto is_tuple = (kernel_data_types[i].object_type == kObjectTypeTuple); in IsObjectStrictlyMatched() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/hal/device/
Dkernel_select_cpu.cc166 auto is_tuple = (kernel_attr.GetInputAttr(i).object_type == kObjectTypeTuple); in InputDtypeFormatMatched() local
/third_party/rust/rust/compiler/rustc_middle/src/ty/
Dlayout.rs1100 fn is_tuple(this: TyAndLayout<'tcx>) -> bool { in is_tuple() function
/third_party/rust/rust/compiler/rustc_builtin_macros/src/deriving/generic/
Dmod.rs1410 let is_tuple = matches!(struct_def, ast::VariantData::Tuple(..)); in summarise_struct() localVariable

12