Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/python/kernel_tests/proto/
Dencode_proto_op_test_base.py68 field_names=['double_value']))
78 field_names=['non_existent_field']))
87 field_names=['double_value']))
99 field_names=['double_value']))
108 field_names=['double_value']).eval(feed_dict={
122 field_names=['double_value', 'int32_value']))
131 field_names=['double_value', 'int32_value']).eval(feed_dict={
138 field_names = [f.name for f in fields]
145 field_names=field_names,
152 field_names=field_names)
Ddecode_proto_op_test_base.py181 field_names = [f.name for f in fields]
188 field_names=field_names,
200 np.all(np.array(sizes.shape) == batch_shape + [len(field_names)]))
208 field_dict = dict(zip(field_names, value_tensors))
301 field_names = ['sizes']
311 field_names=field_names,
364 field_names=comb,
Ddescriptor_source_test_base.py138 field_names = ['values', 'shapes', 'sizes', 'fields']
145 field_names=field_names,
153 field_names=field_names,
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message.py201 _, field_names, _ = zip(*fields)
202 message_class = namedtuple(name, field_names)
293 field_names = []
296 field_names.append(field_name)
297 return field_names
319 _, field_names, _ = zip(*cls.get_fields(get_all=get_all))
320 return field_names
407 field_names = self.__class__._find_field_names_of_type(field_type,
409 return {f: getattr(self, f) for f in field_names}
507 def pack(self, format_string, field_names): argument
[all …]
Dmbim_data_transfer.py375 field_names = cls.get_field_names()
376 for field_name in field_names:
410 _, field_names = zip(*fields)
412 header_class = namedtuple(name, field_names)
454 _, field_names = zip(*cls.get_fields())
455 return field_names
501 field_names = cls.get_field_names()
503 field_values = [getattr(self, name) for name in field_names]
/external/python/cpython2/Lib/
Dcollections.py305 def namedtuple(typename, field_names, verbose=False, rename=False): argument
331 if isinstance(field_names, basestring):
332 field_names = field_names.replace(',', ' ').split()
333 field_names = map(str, field_names)
337 for index, name in enumerate(field_names):
344 field_names[index] = '_%d' % index
346 for name in [typename] + field_names:
359 for name in field_names:
370 field_names = tuple(field_names),
371 num_fields = len(field_names),
[all …]
/external/perfetto/test/trace_processor/profiling/
Dheap_graph_legacy.textproto116 field_names {
120 field_names {
124 field_names {
128 field_names {
Dheap_graph_baseapk.textproto125 field_names {
129 field_names {
133 field_names {
137 field_names {
Dheap_graph.textproto139 field_names {
143 field_names {
147 field_names {
151 field_names {
Dheap_graph_two_locations.textproto127 field_names {
131 field_names {
135 field_names {
Dheap_graph_interleaved.textproto104 field_names {
108 field_names {
/external/autotest/client/cros/cellular/mbim_compliance/sequences/
Dopen_sequence.py37 _, field_names = zip(*self._FIELDS)
38 if len(args) != len(field_names):
42 len(field_names),self.__class__.__name__,len(args)))
44 fields = zip(field_names, args)
/external/python/cpython3/Lib/collections/
D__init__.py345 def namedtuple(typename, field_names, *, rename=False, defaults=None, module=None): argument
371 if isinstance(field_names, str):
372 field_names = field_names.replace(',', ' ').split()
373 field_names = list(map(str, field_names))
378 for index, name in enumerate(field_names):
383 field_names[index] = f'_{index}'
386 for name in [typename] + field_names:
397 for name in field_names:
408 if len(defaults) > len(field_names):
410 field_defaults = dict(reversed(list(zip(reversed(field_names),
[all …]
/external/llvm-project/llvm/utils/benchmark/test/
Doutput_test_helper.cc175 std::vector< std::string > field_names; member in internal::ResultsChecker
247 field_names = SplitCsv_(csv_header); in SetHeader_()
253 CHECK(!field_names.empty()); in SetValues_()
255 CHECK_EQ(vals.size(), field_names.size()); in SetValues_()
259 entry.values[field_names[i]] = vals[i]; in SetValues_()
267 if(!field_names.empty()) out.reserve(field_names.size()); in SplitCsv_()
/external/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc183 std::vector<std::string> field_names; member in internal::ResultsChecker
253 field_names = SplitCsv_(csv_header); in SetHeader_()
259 CHECK(!field_names.empty()); in SetValues_()
261 CHECK_EQ(vals.size(), field_names.size()); in SetValues_()
265 entry.values[field_names[i]] = vals[i]; in SetValues_()
273 if (!field_names.empty()) out.reserve(field_names.size()); in SplitCsv_()
/external/llvm-project/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc183 std::vector<std::string> field_names; member in internal::ResultsChecker
253 field_names = SplitCsv_(csv_header); in SetHeader_()
259 CHECK(!field_names.empty()); in SetValues_()
261 CHECK_EQ(vals.size(), field_names.size()); in SetValues_()
265 entry.values[field_names[i]] = vals[i]; in SetValues_()
273 if (!field_names.empty()) out.reserve(field_names.size()); in SplitCsv_()
/external/tensorflow/tensorflow/python/ops/structured/
Dstructured_tensor_slice_test.py138 self.assertEqual(set(a.field_names()), set(b.field_names()))
139 for field in a.field_names():
146 self.assertEqual(set(a.field_names()), set(b))
Dstructured_tensor_spec_test.py64 self.assertEqual(set(a.field_names()), set(b.field_names()))
65 for field in a.field_names():
/external/google-benchmark/test/
Doutput_test_helper.cc188 std::vector<std::string> field_names; member in internal::ResultsChecker
258 field_names = SplitCsv_(csv_header); in SetHeader_()
264 CHECK(!field_names.empty()); in SetValues_()
266 CHECK_EQ(vals.size(), field_names.size()); in SetValues_()
270 entry.values[field_names[i]] = vals[i]; in SetValues_()
278 if (!field_names.empty()) out.reserve(field_names.size()); in SplitCsv_()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_DecodeProtoV2.pbtxt12 Tensor of int32 with shape `[batch_shape, len(field_names)]`.
32 name: "field_names"
41 List of TF types to use for the respective field in field_names.
68 message into tensors. The fields in `field_names` are decoded and converted
Dapi_def_EncodeProto.pbtxt6 Tensor of int32 with shape `[batch_shape, len(field_names)]`.
28 name: "field_names"
44 specified in `field_names`. All the tensors in `values` must have a common
/external/perfetto/protos/perfetto/trace/profiling/
Dheap_graph.proto76 // Indices for InternedData.field_names for the names of the fields of
102 // Indices for InternedData.field_names for the name of the field referring
134 repeated InternedString field_names = 4; field
/external/autotest/frontend/tko/
Dmodels.py17 field_names = []
20 field_names.append(extra_select_fields[field][0])
22 field_names.append(self._get_key_unless_is_function(field))
23 return field_names
70 field_names = self._get_column_names(cursor)
71 row_dicts = [dict(zip(field_names, row)) for row in cursor.fetchall()]
/external/tensorflow/tensorflow/core/kernels/
Ddecode_proto_op.cc620 std::vector<string> field_names; in DecodeProtoOp() local
621 OP_REQUIRES_OK(context, context->GetAttr("field_names", &field_names)); in DecodeProtoOp()
625 context, field_names.size() == output_types.size(), in DecodeProtoOp()
635 for (const string& name : field_names) { in DecodeProtoOp()
685 output_indices.reserve(field_names.size()); in DecodeProtoOp()
686 for (int i = 0; i < field_names.size(); i++) { in DecodeProtoOp()
695 for (int i = 0; i < field_names.size(); i++) { in DecodeProtoOp()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DEncodeProto.pbtxt16 name: "field_names"

123