Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dattr_builder_test.cc56 unsigned char is_list = 1; in TEST() local
57 s = AttrTypeByName(*m, "ThisAttribyteCannotPossiblyExist", &t, &is_list); in TEST()
59 EXPECT_NE(is_list, 0); in TEST()
60 s = AttrTypeByName(*m, "transpose_a", &t, &is_list); in TEST()
63 EXPECT_EQ(is_list, 0); in TEST()
67 s = AttrTypeByName(*m, "squeeze_dims", &t, &is_list); in TEST()
70 EXPECT_NE(is_list, 0); in TEST()
Dattr_builder.cc103 const bool is_list = (type.length() > 6 && type.compare(0, 4, "list") == 0); in AttrTypeMapForOp() local
104 if (is_list) { in AttrTypeMapForOp()
107 uint32 t = is_list ? kIsList : 0; in AttrTypeMapForOp()
243 TF_AttrType* out, unsigned char* is_list) { in AttrTypeByName() argument
251 *is_list = 1; in AttrTypeByName()
253 *is_list = 0; in AttrTypeByName()
Dattr_builder.h57 TF_AttrType* out, unsigned char* is_list);
/external/python/cpython2/Lib/plat-irix5/
Dpanel.py22 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/
Dpanel.py22 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/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter.h265 bool is_placeholder, bool is_list);
268 Item(Item* parent, ItemType item_type, bool is_placeholder, bool is_list);
291 bool is_list() const { return is_list_; } in is_list() function
384 bool is_placeholder, bool is_list);
Dprotostream_objectwriter.cc448 bool is_list) in Item() argument
454 is_list_(is_list) { in Item()
465 bool is_list) in Item() argument
471 is_list_(is_list) { in Item()
1255 bool is_placeholder, bool is_list) { in Push() argument
1256 is_list ? ProtoWriter::StartList(name) : ProtoWriter::StartObject(name); in Push()
1261 new Item(current_.release(), item_type, is_placeholder, is_list)); in Push()
1276 current_->is_list() ? ProtoWriter::EndList() : ProtoWriter::EndObject(); in PopOneElement()
Dproto_writer.cc309 bool is_list) in ProtoElement() argument
316 size_index_(!is_list && field->kind() == in ProtoElement()
320 array_index_(is_list ? 0 : -1), in ProtoElement()
323 if (!is_list) { in ProtoElement()
724 bool is_list) { in BeginNamed() argument
735 if (is_list && !IsRepeated(*field)) { in BeginNamed()
Dproto_writer.h167 const google::protobuf::Type& type, bool is_list);
258 bool is_list);
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_util.py48 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/tests/
Dtest_util.py45 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/cpython3/Lib/lib2to3/fixes/
Dfix_except.py28 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/
Dfix_except.py28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms
77 if is_tuple(N) or is_list(N):
/external/mesa3d/src/compiler/glsl/
Ds_expression.h67 virtual bool is_list() const { return false; } in is_list() function
139 virtual bool is_list() const { return true; } in is_list() function
/external/tensorflow/tensorflow/python/framework/
Dpython_api_info.h82 bool is_list; member
89 bool is_list; member
Dpython_api_info.cc320 bool is_list = in InitializeInput() local
322 inputs_.push_back({param_index, is_list}); in InitializeInput()
349 inputs_with_fixed_dtype_.push_back({arg_def.type(), param_index, is_list}); in InitializeInput()
422 ", is_list=", input.is_list, "},"); in DebugInfo()
431 ", is_list=", input.is_list, "},"); in DebugInfo()
Dpython_api_dispatcher.h52 bool is_list; member
Dpython_op_gen_internal.cc248 const bool is_list = !arg.type_list_attr().empty(); in ArgTypeName() local
249 const string attr_name = is_list ? arg.type_list_attr() : arg.type_attr(); in ArgTypeName()
253 is_list ? strings::StrCat("A list of ", mutable_str, "`Tensor` objects") in ArgTypeName()
260 if (is_list) { in ArgTypeName()
/external/libchrome/mojo/public/cpp/base/
Dvalues_mojom_traits.h60 DCHECK(value.is_list());
116 DCHECK(value.is_list());
/external/libchrome/base/
Dvalues.cc255 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/c/eager/
Dc_api.h294 unsigned char* is_list,
301 unsigned char* is_list, TF_Status* status);
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_dispatch.py80 is_list = argname.startswith('[') and argname.endswith(']')
81 if is_list:
86 arg_infos.append(_ArgInfo(argname, arg_spec.args.index(argname), is_list))
271 if arg_info.is_list:
/external/tensorflow/tensorflow/core/framework/
Dop_def_util.cc288 bool is_list = absl::ConsumePrefix(&type, "list("); in ValidateOpDef() local
299 if (is_list) { in ValidateOpDef()
309 VALIDATE(attr.type() == "int" || is_list, "Attr '", attr.name(), in ValidateOpDef()
311 if (is_list) { in ValidateOpDef()
325 is_list ? attr.type() : strings::StrCat("list(", attr.type(), ")"); in ValidateOpDef()
Dop_def_builder.cc159 bool is_list = ConsumeListPrefix(&spec); in FinalizeAttr() local
242 if (is_list) { in FinalizeAttr()
252 if ((is_list || type == "int") && absl::ConsumePrefix(&spec, ">=")) { in FinalizeAttr()
Dattr_value_util.cc400 bool is_list = absl::ConsumePrefix(&type, "list("); in ParseAttrValue() local
422 if (is_list && !absl::ConsumePrefix(&type, ")")) { in ParseAttrValue()
428 if (is_list) { in ParseAttrValue()

12