HomeSort by relevance Sort by last modified time
    Searched defs:is_list (Results 1 - 25 of 29) sorted by null

1 2

  /external/python/cpython2/Lib/plat-irix5/
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/
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/c/eager/
runtime_test.cc 65 unsigned char is_list = 1; local
66 s = AttrTypeByName(*m, "ThisAttribyteCannotPossiblyExist", &t, &is_list);
68 EXPECT_NE(is_list, 0);
69 s = AttrTypeByName(*m, "transpose_a", &t, &is_list);
72 EXPECT_EQ(is_list, 0);
76 s = AttrTypeByName(*m, "squeeze_dims", &t, &is_list);
79 EXPECT_NE(is_list, 0);
runtime.cc 56 const bool is_list = (type.length() > 6 && type.compare(0, 4, "list") == 0); local
57 if (is_list) {
60 uint32 t = is_list ? kIsList : 0;
90 TF_AttrType* out, unsigned char* is_list) {
98 *is_list = 1;
100 *is_list = 0;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
fixer_util.py 149 def is_list(node): function
  /external/mesa3d/src/compiler/glsl/
s_expression.h 69 virtual bool is_list() const { return false; } function in class:s_expression
141 virtual bool is_list() const { return true; } function in class:s_list
  /external/python/cpython2/Lib/lib2to3/
fixer_util.py 149 def is_list(node): function
  /external/python/cpython3/Lib/lib2to3/
fixer_util.py 170 def is_list(node): function
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/
fixer_util.py 149 def is_list(node): function
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/
fixer_util.py 149 def is_list(node): function
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
fixer_util.py 149 def is_list(node): function
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
fixer_util.py 149 def is_list(node): function
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
test_util.py 48 def is_list(self, string): member in class: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/libchrome/base/
values.h 124 bool is_list() const { return type() == Type::LIST; } function in class:base::Value
  /external/protobuf/src/google/protobuf/util/internal/
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_; } function in class:google::protobuf::util::converter::ProtoStreamObjectWriter::Item
301 // on the underlying ObjectWriter depending on whether is_list is false or
307 bool is_list);
  /external/python/cpython2/Lib/lib2to3/tests/
test_util.py 48 def is_list(self, string): member in class: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/
test_util.py 45 def is_list(self, string): member in class: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/tensorflow/tensorflow/core/framework/
attr_value_util.cc 243 bool is_list = type.Consume("list("); local
265 if (is_list && !type.Consume(")")) {
271 if (is_list) {
op_def_builder.cc 155 bool is_list = ConsumeListPrefix(&spec); local
234 if (is_list) {
243 if ((is_list || type == "int") && spec.Consume(">=")) {
op_def_util.cc 261 bool is_list = type.Consume("list("); local
272 if (is_list) {
281 VALIDATE(attr.type() == "int" || is_list, "Attr '", attr.name(),
283 if (is_list) {
297 is_list ? attr.type() : strings::StrCat("list(", attr.type(), ")");
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_util.py 48 def is_list(self, string): member in class: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("[]+[]"))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_util.py 48 def is_list(self, string): member in class: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/tensorflow/tensorflow/c/
c_api.h 667 unsigned char is_list; member in struct:TF_AttrMetadata
669 // Length of the list if is_list is true. Undefined otherwise.
672 // Type of elements of the list if is_list != 0.
673 // Type of the single value stored in the attribute if is_list == 0.
677 // The units of total_size depend on is_list and type.
678 // (1) If type == TF_ATTR_STRING and is_list == 0
681 // (2) If type == TF_ATTR_STRING and is_list == 1
684 // (3) If type == TF_ATTR_SHAPE and is_list == 0
688 // (4) If type == TF_ATTR_SHAPE and is_list == 1
    [all...]
  /external/tensorflow/tensorflow/cc/framework/
cc_op_gen.cc 617 bool is_list = ArgIsList(arg); local
619 strings::StrCat("::tensorflow::", is_list ? "OutputList" : "Output"));
621 is_list_output.push_back(is_list);
    [all...]
  /external/tensorflow/tensorflow/python/eager/
python_eager_op_gen.cc 200 const bool is_list = local
202 if (is_list) {
    [all...]

Completed in 532 milliseconds

1 2