/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | attr_builder_test.cc | 55 unsigned char is_list = 1; in TEST() local 56 s = AttrTypeByName(*m, "ThisAttribyteCannotPossiblyExist", &t, &is_list); in TEST() 58 EXPECT_NE(is_list, 0); in TEST() 59 s = AttrTypeByName(*m, "transpose_a", &t, &is_list); in TEST() 62 EXPECT_EQ(is_list, 0); in TEST() 66 s = AttrTypeByName(*m, "squeeze_dims", &t, &is_list); in TEST() 69 EXPECT_NE(is_list, 0); in TEST()
|
D | attr_builder.cc | 91 const bool is_list = (type.length() > 6 && type.compare(0, 4, "list") == 0); in AttrTypeMapForOp() local 92 if (is_list) { in AttrTypeMapForOp() 95 uint32 t = is_list ? kIsList : 0; in AttrTypeMapForOp() 195 TF_AttrType* out, unsigned char* is_list) { in AttrTypeByName() argument 203 *is_list = 1; in AttrTypeByName() 205 *is_list = 0; in AttrTypeByName()
|
D | attr_builder.h | 55 TF_AttrType* out, unsigned char* is_list);
|
/external/tensorflow/tensorflow/contrib/rnn/python/ops/ |
D | fused_rnn_cell.py | 101 is_list = isinstance(inputs, list) 103 if is_list: 113 if is_list: 117 if not is_list: 126 if not is_list:
|
D | lstm_ops.py | 513 is_list = isinstance(inputs, list) 514 if is_list: 572 if is_list:
|
/external/python/cpython2/Lib/plat-irix5/ |
D | panel.py | 22 def is_list(x): function 40 if item and is_list(item) and item[0] == name: 49 if item and is_list(item) and item[0] == 'prop': 67 if not is_list(item): 86 if not is_list(item): 118 if is_list(item) and len(item) == 2 and item[0] not in exclist:
|
/external/python/cpython2/Lib/plat-irix6/ |
D | panel.py | 22 def is_list(x): function 40 if item and is_list(item) and item[0] == name: 49 if item and is_list(item) and item[0] == 'prop': 67 if not is_list(item): 86 if not is_list(item): 118 if is_list(item) and len(item) == 2 and item[0] not in exclist:
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | hparam.py | 507 param_type, is_list = self._hparam_types[name] 509 if not is_list: 515 if is_list: 667 def _get_kind_name(param_type, is_list): argument 697 suffix = 'list' if is_list else 'value' 712 param_type, is_list = self._hparam_types.get(name, (None, None)) 713 kind = HParams._get_kind_name(param_type, is_list) 715 if is_list:
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectwriter.h | 193 bool is_placeholder, bool is_list); 196 Item(Item* parent, ItemType item_type, bool is_placeholder, bool is_list); 219 bool is_list() const { return is_list_; } in is_list() function 307 bool is_list);
|
D | protostream_objectwriter.cc | 377 bool is_list) in Item() argument 383 is_list_(is_list) { in Item() 391 bool is_list) in Item() argument 397 is_list_(is_list) { in Item() 1144 bool is_placeholder, bool is_list) { in Push() argument 1145 is_list ? ProtoWriter::StartList(name) : ProtoWriter::StartObject(name); in Push() 1150 new Item(current_.release(), item_type, is_placeholder, is_list)); in Push() 1165 current_->is_list() ? ProtoWriter::EndList() : ProtoWriter::EndObject(); in PopOneElement()
|
D | proto_writer.cc | 304 bool is_list) in ProtoElement() argument 311 !is_list && field->kind() == google::protobuf::Field_Kind_TYPE_MESSAGE in ProtoElement() 314 array_index_(is_list ? 0 : -1) { in ProtoElement() 315 if (!is_list) { in ProtoElement() 657 bool is_list) { in BeginNamed() argument 668 if (is_list && !IsRepeated(*field)) { in BeginNamed()
|
D | proto_writer.h | 154 const google::protobuf::Type& type, bool is_list); 239 const google::protobuf::Field* BeginNamed(StringPiece name, bool is_list);
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_util.py | 45 def is_list(self, string): member in Test_is_list 46 return fixer_util.is_list(parse(string, strip_levels=2)) 49 self.assertTrue(self.is_list("[]")) 50 self.assertTrue(self.is_list("[a]")) 51 self.assertTrue(self.is_list("[a, b]")) 52 self.assertTrue(self.is_list("[a, [b, c]]")) 53 self.assertTrue(self.is_list("[[a, [b, c]],]")) 56 self.assertFalse(self.is_list("[]+[]"))
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_util.py | 48 def is_list(self, string): member in Test_is_list 49 return fixer_util.is_list(parse(string, strip_levels=2)) 52 self.assertTrue(self.is_list("[]")) 53 self.assertTrue(self.is_list("[a]")) 54 self.assertTrue(self.is_list("[a, b]")) 55 self.assertTrue(self.is_list("[a, [b, c]]")) 56 self.assertTrue(self.is_list("[[a, [b, c]],]")) 59 self.assertFalse(self.is_list("[]+[]"))
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_except.py | 28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms 77 if is_tuple(N) or is_list(N):
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_except.py | 28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms 77 if is_tuple(N) or is_list(N):
|
/external/tensorflow/tensorflow/python/ |
D | pywrap_tfe.i | 116 %typemap(in, numinputs=0) unsigned char* is_list (unsigned char tmp) { 120 %typemap(argout) unsigned char* is_list { 301 %typemap(argout) unsigned char* is_list;
|
/external/mesa3d/src/compiler/glsl/ |
D | s_expression.h | 68 virtual bool is_list() const { return false; } in is_list() function 140 virtual bool is_list() const { return true; } in is_list() function
|
/external/libchrome/mojo/public/cpp/base/ |
D | values_mojom_traits.h | 60 DCHECK(value.is_list()); 116 DCHECK(value.is_list());
|
/external/libchrome/base/ |
D | values.cc | 255 CHECK(is_list()); in GetList() 260 CHECK(is_list()); in GetList() 505 if (out_value && is_list()) { in GetAsList() 509 return is_list(); in GetAsList() 513 if (out_value && is_list()) { in GetAsList() 517 return is_list(); in GetAsList() 930 if (!result || !value->is_list()) in GetList() 1039 if (!result || !value->is_list()) in GetListWithoutPathExpansion() 1268 if (!result || !value->is_list()) in GetList() 1374 CHECK(other->is_list()); in Swap()
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_dispatch.py | 73 is_list = argname.startswith('[') and argname.endswith(']') 74 if is_list: 79 arg_infos.append(_ArgInfo(argname, arg_spec.args.index(argname), is_list)) 257 if arg_info.is_list:
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api.h | 296 unsigned char* is_list, 303 unsigned char* is_list, TF_Status* status);
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_def_util.cc | 274 bool is_list = str_util::ConsumePrefix(&type, "list("); in ValidateOpDef() local 285 if (is_list) { in ValidateOpDef() 295 VALIDATE(attr.type() == "int" || is_list, "Attr '", attr.name(), in ValidateOpDef() 297 if (is_list) { in ValidateOpDef() 311 is_list ? attr.type() : strings::StrCat("list(", attr.type(), ")"); in ValidateOpDef()
|
D | attr_value_util.cc | 377 bool is_list = str_util::ConsumePrefix(&type, "list("); in ParseAttrValue() local 399 if (is_list && !str_util::ConsumePrefix(&type, ")")) { in ParseAttrValue() 405 if (is_list) { in ParseAttrValue()
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_op_gen_internal.cc | 244 const bool is_list = !arg.type_list_attr().empty(); in ArgTypeName() local 245 const string attr_name = is_list ? arg.type_list_attr() : arg.type_attr(); in ArgTypeName() 249 is_list ? strings::StrCat("A list of ", mutable_str, "`Tensor` objects") in ArgTypeName() 256 if (is_list) { in ArgTypeName()
|