/external/tensorflow/tensorflow/python/ops/ |
D | default_gradient.py | 25 handle_data = resource_variable_ops.get_eager_safe_handle_data(t) 26 if (handle_data is None or not handle_data.is_set or 27 len(handle_data.shape_and_type) != 1): 30 return handle_data.shape_and_type[0].dtype 37 handle_data = resource_variable_ops.get_eager_safe_handle_data(t) 38 if (handle_data is None or not handle_data.is_set or 39 len(handle_data.shape_and_type) != 1): 42 shape_and_type = handle_data.shape_and_type[0] 76 handle_data = resource_variable_ops.get_eager_safe_handle_data(t) 77 if (handle_data is None or not handle_data.is_set or [all …]
|
D | handle_data_util.py | 43 handle_data = source_t._handle_data # pylint: disable=protected-access 45 handle_data = get_resource_handle_data(source_t) 46 if (handle_data is not None 47 and handle_data.is_set 48 and handle_data.shape_and_type): 49 set_handle_data(target_t, handle_data) 52 def set_handle_data(target_t, handle_data): argument 55 target_t._handle_data = handle_data 59 handle_data.SerializeToString())
|
D | resource_variable_ops.py | 79 def _set_handle_shapes_and_types(tensor, handle_data, graph_mode): argument 87 tensor._handle_data = handle_data # pylint: disable=protected-access 93 *[(pair.shape, pair.dtype) for pair in handle_data.shape_and_type]) 176 handle_data = cpp_shape_inference_pb2.CppShapeInferenceResult.HandleData() 177 handle_data.is_set = True 178 handle_data.shape_and_type.append( 185 if (not handle_data.is_set or len(handle_data.shape_and_type) != 1): 189 handle_data.shape_and_type.extend(extra_handle_data.shape_and_type) 191 _set_handle_shapes_and_types(handle, handle_data, graph_mode) 319 handle_data = get_eager_safe_handle_data(handle) [all …]
|
/external/tensorflow/tensorflow/core/ops/ |
D | list_ops.cc | 48 const std::vector<shape_inference::ShapeAndType>* handle_data) { in IsValidTensorListHandleData() argument 49 return handle_data != nullptr && handle_data->size() == 1; in IsValidTensorListHandleData() 93 auto* handle_data = c->input_handle_shapes_and_types(0); in __anon6c1e81940302() local 94 if (handle_data != nullptr && handle_data->size() > 1) { in __anon6c1e81940302() 98 if (IsValidTensorListHandleData(handle_data)) { in __anon6c1e81940302() 100 (*handle_data)[0]; in __anon6c1e81940302() 144 auto* handle_data = c->input_handle_shapes_and_types(0); in __anon6c1e81940402() local 145 if (handle_data != nullptr && handle_data->size() > 1) { in __anon6c1e81940402() 149 if (IsValidTensorListHandleData(handle_data)) { in __anon6c1e81940402() 151 (*handle_data)[0]; in __anon6c1e81940402() [all …]
|
D | control_flow_ops.cc | 36 auto* handle_data = c->input_handle_shapes_and_types(0); in SwitchShape() local 37 if (handle_data != nullptr) { in SwitchShape() 38 c->set_output_handle_shapes_and_types(0, *handle_data); in SwitchShape() 39 c->set_output_handle_shapes_and_types(1, *handle_data); in SwitchShape() 55 auto* handle_data = c->input_handle_shapes_and_types(0); in SwitchNShape() local 56 if (handle_data != nullptr) { in SwitchNShape() 58 c->set_output_handle_shapes_and_types(i, *handle_data); in SwitchNShape() 178 auto* handle_data = c->input_handle_shapes_and_types(0); in __anon786e17100402() local 179 if (handle_data != nullptr) { in __anon786e17100402() 180 c->set_output_handle_shapes_and_types(0, *handle_data); in __anon786e17100402()
|
D | math_ops_test.cc | 227 std::vector<std::unique_ptr<ShapeDtypeV>> handle_data; in TEST() local 234 {}, handle_data)); in TEST() 251 handle_data.emplace_back( in TEST() 253 handle_data.emplace_back(new ShapeDtypeV{{i0, DT_FLOAT}, {i1, DT_INT32}}); in TEST() 254 handle_data.emplace_back( in TEST() 266 handle_data[2]->at(0).first = shape_proto({2, 2}); in TEST() 269 handle_data[2]->at(0).first = i1; // restore to valid in TEST() 272 handle_data[2]->at(1).second = DT_INT64; in TEST() 275 handle_data[2]->at(1).second = DT_INT32; // restore to valid in TEST() 278 handle_data[2]->push_back({i1, DT_FLOAT}); in TEST() [all …]
|
D | resource_variable_ops.cc | 72 auto* handle_data = c->input_handle_shapes_and_types(i); in ReadVariablesShapeFn() local 73 if (handle_data == nullptr || handle_data->empty()) { in ReadVariablesShapeFn() 77 shape_and_type = (*handle_data)[0]; in ReadVariablesShapeFn() 235 auto* handle_data = c->input_handle_shapes_and_types(0); in VariableShapeShapeFn() local 236 if (handle_data == nullptr || handle_data->empty()) { in VariableShapeShapeFn() 240 ShapeHandle var_shape = (*handle_data)[0].shape; in VariableShapeShapeFn()
|
D | lookup_ops.cc | 120 auto* handle_data = c->input_handle_shapes_and_types(0); in ValidateTableResourceHandle() local 121 if (handle_data == nullptr || handle_data->size() != 2) { in ValidateTableResourceHandle() 125 const ShapeAndType& key_shape_and_type = (*handle_data)[0]; in ValidateTableResourceHandle() 126 const ShapeAndType& value_shape_and_type = (*handle_data)[1]; in ValidateTableResourceHandle() 269 auto* handle_data = c->input_handle_shapes_and_types(0); in __anona75a9a520802() local 270 if (handle_data != nullptr && handle_data->size() == 2) { in __anona75a9a520802() 271 const ShapeAndType& key_shape_and_type = (*handle_data)[0]; in __anona75a9a520802() 272 const ShapeAndType& value_shape_and_type = (*handle_data)[1]; in __anona75a9a520802()
|
D | state_ops.cc | 335 auto* handle_data = c->input_handle_shapes_and_types(0); in __anon70548b590502() local 336 if (handle_data == nullptr || handle_data->empty()) { in __anon70548b590502() 339 shape_inference::ShapeAndType shape_and_type = (*handle_data)[0]; in __anon70548b590502()
|
/external/tensorflow/tensorflow/python/eager/ |
D | backprop_util.py | 31 handle_data = tensor._handle_data # pylint: disable=protected-access 33 handle_data = handle_data_util.get_resource_handle_data(tensor) 34 if (handle_data is not None 35 and handle_data.is_set 36 and handle_data.shape_and_type): 37 first_type = handle_data.shape_and_type[0].dtype 43 for shape_and_type in handle_data.shape_and_type)):
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | gpu_swapping_ops.cc | 33 auto* handle_data = c->input_handle_shapes_and_types(0); in __anon18cc08dc0202() local 34 if (handle_data != nullptr) { in __anon18cc08dc0202() 35 c->set_output_handle_shapes_and_types(0, *handle_data); in __anon18cc08dc0202() 49 auto* handle_data = c->input_handle_shapes_and_types(0); in __anon18cc08dc0302() local 50 if (handle_data != nullptr) { in __anon18cc08dc0302() 51 c->set_output_handle_shapes_and_types(0, *handle_data); in __anon18cc08dc0302()
|
/external/tensorflow/tensorflow/python/ops/linalg/sparse/ |
D | sparse_csr_matrix_ops.py | 74 handle_data = getattr(matrix, "_handle_data", None) 75 if handle_data is None: 77 if len(handle_data.shape_and_type) != 1: 80 % len(handle_data.shape_and_type)) 81 return handle_data.shape_and_type[0] 104 handle_data = _get_handle_data(matrix) 105 if not handle_data or not handle_data.is_set: 107 if len(handle_data.shape_and_type) != 1: 109 (handle_data.shape_and_type,)) 111 tensor_shape.TensorShape(handle_data.shape_and_type[0].shape), [all …]
|
/external/tensorflow/tensorflow/c/ |
D | python_api.cc | 94 CppShapeInferenceResult::HandleData handle_data; in GetHandleShapeAndType() local 95 handle_data.set_is_set(true); in GetHandleShapeAndType() 107 auto* out_shape_and_type = handle_data.add_shape_and_type(); in GetHandleShapeAndType() 114 handle_data.SerializeToString(&result); in GetHandleShapeAndType() 120 tensorflow::CppShapeInferenceResult::HandleData handle_data; in SetHandleShapeAndType() local 121 if (!handle_data.ParseFromArray(proto, proto_len)) { in SetHandleShapeAndType() 126 DCHECK(handle_data.is_set()); in SetHandleShapeAndType() 133 for (const auto& shape_and_type_proto : handle_data.shape_and_type()) { in SetHandleShapeAndType()
|
/external/python/cpython3/Lib/html/ |
D | parser.py | 162 self.handle_data(unescape(rawdata[i:j])) 164 self.handle_data(rawdata[i:j]) 180 self.handle_data("<") 195 self.handle_data(unescape(rawdata[i:k])) 197 self.handle_data(rawdata[i:k]) 211 self.handle_data(rawdata[i:i+2]) 237 self.handle_data("&") 246 self.handle_data(unescape(rawdata[i:n])) 248 self.handle_data(rawdata[i:n]) 338 self.handle_data(rawdata[i:endpos]) [all …]
|
/external/markdown/markdown/extensions/ |
D | md_in_html.py | 126 self.handle_data(self.md.htmlStash.store(text)) 128 self.handle_data(text) 166 self.handle_data(self.md.htmlStash.store(text)) 168 self.handle_data(text) 176 self.handle_data(self.md.htmlStash.store(text)) 178 self.handle_data(text) 193 def handle_data(self, data): member in HTMLExtractorExtra 197 super().handle_data(data) 206 self.handle_data('\n' + self.md.htmlStash.store(data) + '\n\n') 208 self.handle_data(self.md.htmlStash.store(data)) [all …]
|
/external/python/cpython2/Lib/ |
D | sgmllib.py | 122 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 …]
|
D | HTMLParser.py | 155 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
|
D | xmllib.py | 251 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 …]
|
/external/tensorflow/tensorflow/examples/custom_ops_doc/simple_hash_table/ |
D | simple_hash_table_op.cc | 94 auto* handle_data = c->input_handle_shapes_and_types(0); in ExportShapeFunction() local 95 if (handle_data != nullptr && handle_data->size() == 2) { in ExportShapeFunction() 96 const ShapeAndType& key_shape_and_type = (*handle_data)[0]; in ExportShapeFunction() 97 const ShapeAndType& value_shape_and_type = (*handle_data)[1]; in ExportShapeFunction()
|
/external/tensorflow/tensorflow/python/framework/ |
D | function_def_to_graph.py | 77 if arg_def.type == types_pb2.DT_RESOURCE and arg_def.handle_data: 312 if arg_def.handle_data: 315 shape_and_dtype = arg_def.handle_data[0] 316 handle_data = cpp_shape_inference_pb2.CppShapeInferenceResult.HandleData() 317 handle_data.is_set = True 318 handle_data.shape_and_type.append( 322 tensor, handle_data, True)
|
/external/trace-cmd/tracecmd/ |
D | trace-profile.c | 47 struct handle_data; 52 typedef int (*handle_event_func)(struct handle_data *h, unsigned long long pid, 162 struct handle_data *handle; 175 struct handle_data { struct 176 struct handle_data *next; argument 203 static struct handle_data *handles; argument 474 static void init_task(struct handle_data *h, struct task_data *task) in init_task() 483 add_task(struct handle_data *h, int pid) in add_task() 505 find_task(struct handle_data *h, int pid) in find_task() 603 find_event_task(struct handle_data *h, struct event_data *event_data, in find_event_task() [all …]
|
/external/tensorflow/tensorflow/core/ir/importexport/tests/graphdef_to_mlir/ |
D | invalid_handle_data.pbtxt | 3 # CHECK: INVALID_ARGUMENT: Invalid dtype for handle_data 16 # This empty handle_data is invalid. 17 handle_data {
|
/external/markdown/markdown/ |
D | htmlparser.py | 99 self.handle_data(htmlparser.unescape(self.rawdata)) 101 self.handle_data(self.rawdata) 196 def handle_data(self, data): member in HTMLExtractor 254 self.handle_data('<?') 262 self.handle_data('<!') 313 self.handle_data(rawdata[i:endpos])
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | native_struct_serialization.cc | 109 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/core/ir/ |
D | dialect.td | 53 FunctionDef.signature.input_arg.handle_data <-> "tfg.handle_data" 60 FunctionDef.signature.output_arg.handle_data <-> "tfg.handle_data" 109 return {"tfg.handle_data"};
|