Home
last modified time | relevance | path

Searched refs:handle_data (Results 1 – 25 of 51) sorted by relevance

123

/external/tensorflow/tensorflow/core/ops/
Dlist_ops.cc81 auto* handle_data = c->input_handle_shapes_and_types(0); in __anonebbd57d80302() local
82 if (handle_data != nullptr && handle_data->size() > 1) { in __anonebbd57d80302()
86 if (handle_data != nullptr && handle_data->size() == 1) { in __anonebbd57d80302()
88 (*handle_data)[0]; in __anonebbd57d80302()
128 auto* handle_data = c->input_handle_shapes_and_types(0); in __anonebbd57d80402() local
129 if (handle_data != nullptr && handle_data->size() > 1) { in __anonebbd57d80402()
133 if (handle_data != nullptr && handle_data->size() == 1) { in __anonebbd57d80402()
135 (*handle_data)[0]; in __anonebbd57d80402()
169 auto* handle_data = c->input_handle_shapes_and_types(0); in __anonebbd57d80502() local
170 if (handle_data != nullptr && handle_data->size() > 1) { in __anonebbd57d80502()
[all …]
Dresource_variable_ops.cc34 auto* handle_data = c->input_handle_shapes_and_types(0); in ValidateVariableResourceHandle() local
35 if (handle_data == nullptr || handle_data->empty()) { in ValidateVariableResourceHandle()
38 *shape_and_type = *handle_data; in ValidateVariableResourceHandle()
76 auto* handle_data = c->input_handle_shapes_and_types(i); in ReadVariablesShapeFn() local
77 if (handle_data == nullptr || handle_data->empty()) { in ReadVariablesShapeFn()
81 shape_and_type = (*handle_data)[0]; in ReadVariablesShapeFn()
236 auto* handle_data = c->input_handle_shapes_and_types(0); in VariableShapeShapeFn() local
237 if (handle_data == nullptr || handle_data->empty()) { in VariableShapeShapeFn()
241 ShapeHandle var_shape = (*handle_data)[0].shape; in VariableShapeShapeFn()
Dcontrol_flow_ops.cc35 auto* handle_data = c->input_handle_shapes_and_types(0); in SwitchShape() local
36 if (handle_data != nullptr) { in SwitchShape()
37 c->set_output_handle_shapes_and_types(0, *handle_data); in SwitchShape()
38 c->set_output_handle_shapes_and_types(1, *handle_data); in SwitchShape()
145 auto* handle_data = c->input_handle_shapes_and_types(0); in __anonad90f1540402() local
146 if (handle_data != nullptr) { in __anonad90f1540402()
147 c->set_output_handle_shapes_and_types(0, *handle_data); in __anonad90f1540402()
Dmath_ops_test.cc206 std::vector<std::unique_ptr<ShapeDtypeV>> handle_data; in TEST() local
213 handle_data)); in TEST()
231 handle_data.emplace_back( in TEST()
233 handle_data.emplace_back(new ShapeDtypeV{{i0, DT_FLOAT}, {i1, DT_INT32}}); in TEST()
234 handle_data.emplace_back( in TEST()
246 handle_data[2]->at(0).first = shape_proto({2, 2}); in TEST()
249 handle_data[2]->at(0).first = i1; // restore to valid in TEST()
252 handle_data[2]->at(1).second = DT_INT64; in TEST()
255 handle_data[2]->at(1).second = DT_INT32; // restore to valid in TEST()
258 handle_data[2]->push_back({i1, DT_FLOAT}); in TEST()
[all …]
Dstate_ops.cc281 auto* handle_data = c->input_handle_shapes_and_types(0); in __anone3ce2a1d0502() local
282 if (handle_data == nullptr || handle_data->empty()) { in __anone3ce2a1d0502()
285 shape_inference::ShapeAndType shape_and_type = (*handle_data)[0]; in __anone3ce2a1d0502()
Dlookup_ops.cc95 auto* handle_data = c->input_handle_shapes_and_types(0); in ValidateTableResourceHandle() local
96 if (handle_data == nullptr || handle_data->size() != 2) { in ValidateTableResourceHandle()
100 const ShapeAndType& key_shape_and_type = (*handle_data)[0]; in ValidateTableResourceHandle()
101 const ShapeAndType& value_shape_and_type = (*handle_data)[1]; in ValidateTableResourceHandle()
Dtraining_ops.cc26 auto* handle_data = c->input_handle_shapes_and_types(input); in ShapeOrHandleShape() local
27 if (handle_data != nullptr && !handle_data->empty() && in ShapeOrHandleShape()
28 (*handle_data)[0].dtype != DT_INVALID) { in ShapeOrHandleShape()
29 return (*handle_data)[0].shape; in ShapeOrHandleShape()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgpu_swapping_ops.cc33 auto* handle_data = c->input_handle_shapes_and_types(0); in __anonde42eb200202() local
34 if (handle_data != nullptr) { in __anonde42eb200202()
35 c->set_output_handle_shapes_and_types(0, *handle_data); in __anonde42eb200202()
49 auto* handle_data = c->input_handle_shapes_and_types(0); in __anonde42eb200302() local
50 if (handle_data != nullptr) { in __anonde42eb200302()
51 c->set_output_handle_shapes_and_types(0, *handle_data); in __anonde42eb200302()
/external/python/cpython3/Lib/html/
Dparser.py163 self.handle_data(unescape(rawdata[i:j]))
165 self.handle_data(rawdata[i:j])
181 self.handle_data("<")
196 self.handle_data(unescape(rawdata[i:k]))
198 self.handle_data(rawdata[i:k])
212 self.handle_data(rawdata[i:i+2])
238 self.handle_data("&")
247 self.handle_data(unescape(rawdata[i:n]))
249 self.handle_data(rawdata[i:n])
339 self.handle_data(rawdata[i:endpos])
[all …]
/external/tensorflow/tensorflow/c/
Dpython_api.cc124 CppShapeInferenceResult::HandleData handle_data; in GetHandleShapeAndType() local
125 handle_data.set_is_set(true); in GetHandleShapeAndType()
137 auto* out_shape_and_type = handle_data.add_shape_and_type(); in GetHandleShapeAndType()
143 handle_data.SerializeToString(&result); in GetHandleShapeAndType()
149 tensorflow::CppShapeInferenceResult::HandleData handle_data; in SetHandleShapeAndType() local
150 if (!handle_data.ParseFromArray(proto, proto_len)) { in SetHandleShapeAndType()
155 DCHECK(handle_data.is_set()); in SetHandleShapeAndType()
162 for (const auto& shape_and_type_proto : handle_data.shape_and_type()) { in SetHandleShapeAndType()
/external/python/cpython2/Lib/
Dsgmllib.py122 self.handle_data(rawdata[i:n])
129 self.handle_data(rawdata[i:j])
135 self.handle_data(rawdata[i])
150 self.handle_data("<")
180 self.handle_data(rawdata[i])
203 self.handle_data(rawdata[i])
209 self.handle_data(rawdata[i:j])
213 self.handle_data(rawdata[i:n])
326 self.handle_data(data)
412 self.handle_data(replacement)
[all …]
DHTMLParser.py155 if i < j: self.handle_data(rawdata[i:j])
171 self.handle_data("<")
185 self.handle_data(rawdata[i:k])
199 self.handle_data(rawdata[i:i+2])
222 self.handle_data("&")
230 self.handle_data(rawdata[i:n])
321 self.handle_data(rawdata[i:endpos])
376 self.handle_data(rawdata[i:gtpos])
398 self.handle_data(rawdata[i:gtpos])
427 def handle_data(self, data): member in HTMLParser
Dxmllib.py251 self.handle_data(data)
269 self.handle_data(data)
277 self.handle_data(data)
296 self.handle_data(data)
336 self.handle_data(data)
355 self.handle_data(data)
389 self.handle_data(data)
396 self.handle_data(rawdata[i])
412 self.handle_data(data)
681 self.handle_data(rawdata[i])
[all …]
Dhtmllib.py63 def handle_data(self, data): member in HTMLParser
123 self.handle_data("[%d]" % len(self.anchorlist))
135 self.handle_data(alt)
/external/tensorflow/tensorflow/python/ops/
Dcustom_gradient.py56 handle_data = source_t._handle_data # pylint: disable=protected-access
58 handle_data = resource_variable_ops.get_resource_handle_data(source_t)
59 if (handle_data is not None
60 and handle_data.is_set
61 and handle_data.shape_and_type):
65 handle_data.SerializeToString())
69 for pair in handle_data.shape_and_type])
Dresource_variable_ops.py54 handle_data = pywrap_tensorflow.GetHandleShapeAndType(
58 compat.as_bytes(handle_data))
71 def _set_handle_shapes_and_types(tensor, handle_data, graph_mode): argument
79 tensor._handle_data = handle_data # pylint: disable=protected-access
85 for pair in handle_data.shape_and_type])
282 handle_data = get_eager_safe_handle_data(handle)
283 if handle_data.is_set and len(handle_data.shape_and_type) > 1:
287 shape_and_type=handle_data.shape_and_type[1:]))
896 handle_data = get_eager_safe_handle_data(self._handle)
897 if handle_data.is_set and len(handle_data.shape_and_type) > 1:
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Dnative_struct_serialization.cc109 auto* handle_data = handles_data->at(i).Get(); in DeserializeMessageAttachments() local
110 if (!handle_data) in DeserializeMessageAttachments()
114 &handle_data->the_handle, &handle, context); in DeserializeMessageAttachments()
118 static_cast<native::SerializedHandle::Type>(handle_data->type))); in DeserializeMessageAttachments()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc296 PyObject* handle_data; member
362 self->handle_data = Py_None; in EagerTensor_init()
507 Py_DECREF(self->handle_data); in EagerTensor_dealloc()
591 Py_INCREF(self->handle_data); in EagerTensor_tensor_handle()
592 return self->handle_data; in EagerTensor_tensor_handle()
597 Py_DECREF(self->handle_data); in EagerTensor_settensor_handle()
599 self->handle_data = value; in EagerTensor_settensor_handle()
832 t->handle_data = Py_None; in EagerTensorFromHandle()
/external/tensorflow/tensorflow/python/framework/
Dfunction.py785 handle_data = tensor._handle_data
786 if handle_data:
787 handle_data = handle_data.SerializeToString()
789 handle_data = c_api.GetHandleShapeAndType(tensor.graph._c_graph,
792 if handle_data:
794 compat.as_bytes(handle_data))
Dcpp_shape_inference.cc91 if (tmp.handle_data().is_set()) { in RunCppShapeInferenceImpl()
95 for (const auto& x : tmp.handle_data().shape_and_type()) { in RunCppShapeInferenceImpl()
Dcpp_shape_inference.proto24 HandleData handle_data = 4; field
/external/autotest/client/site_tests/firmware_TouchMTB/
Dnoise_summary.py66 def handle_data(self, data): member in ParseReport
106 def handle_data(self, data): member in CountIterations
/external/tensorflow/tensorflow/core/framework/
Dshape_inference.cc64 std::vector<std::unique_ptr<std::vector<ShapeAndType>>> handle_data( in InferenceContext() local
71 handle_data[i].reset(new std::vector<ShapeAndType>(v->size())); in InferenceContext()
72 auto& new_v = *handle_data[i]; in InferenceContext()
83 PostInputInit(std::move(handle_data)); in InferenceContext()
118 std::vector<std::unique_ptr<std::vector<ShapeAndType>>> handle_data( in InferenceContext() local
125 handle_data[i].reset(new std::vector<ShapeAndType>(v->size())); in InferenceContext()
126 auto& new_v = *handle_data[i]; in InferenceContext()
137 PostInputInit(std::move(handle_data)); in InferenceContext()
/external/skia/tools/
Dcompare_codereview.py108 def handle_data(self, data): member in CodeReviewHTMLParser
237 def handle_data(self, data): member in BuilderHTMLParser
/external/skqp/tools/
Dcompare_codereview.py108 def handle_data(self, data): member in CodeReviewHTMLParser
237 def handle_data(self, data): member in BuilderHTMLParser

123