/external/tensorflow/tensorflow/python/compiler/tensorrt/test/ |
D | base_test.py | 40 input_name = "input" 46 dtype=dtype, shape=[None] + input_dims[1:], name=input_name) 69 input_names=[input_name], 90 input_name = "input" 96 dtype=dtype, shape=input_dims, name=input_name) 126 input_names=[input_name], 154 input_name = "input" 160 dtype=dtypes.float32, shape=input_dims, name=input_name) 178 input_names=[input_name], 203 input_name = "input" [all …]
|
D | topk_test.py | 35 input_name = "input" 40 x = array_ops.placeholder(dtype=dtype, shape=input_dims, name=input_name) 47 input_names=[input_name], 62 input_name = "input" 67 x = array_ops.placeholder(dtype=dtype, shape=input_dims, name=input_name) 78 input_names=[input_name],
|
D | reshape_transpose_test.py | 33 input_name = "input" 39 dtype=dtype, shape=[None] + input_dims[1:], name=input_name) 74 input_names=[input_name], 97 input_name = "input" 103 dtype=dtype, shape=[None] + input_dims[1:], name=input_name) 131 input_names=[input_name],
|
D | conv2d_test.py | 150 input_name = "input" 158 dtype=dtype, shape=[None] + input_dims[1:], name=input_name) 181 input_names=[input_name], 197 input_name = "input" 205 dtype=dtype, shape=[None] + input_dims[1:], name=input_name) 222 input_names=[input_name],
|
D | identity_output_test.py | 44 input_name = 'input' 49 dtype=dtypes.float32, shape=input_dims, name=input_name) 63 input_names=[input_name],
|
D | binary_tensor_weight_broadcast_test.py | 39 input_name = "input" 45 dtype=dtypes.float32, shape=input_dims, name=input_name) 65 input_names=[input_name],
|
D | memory_alignment_test.py | 37 input_name = "input" 43 dtype=dtype, shape=[None] + input_dims[1:], name=input_name) 64 input_names=[input_name],
|
D | neighboring_engine_test.py | 38 input_name = "input" 43 x = array_ops.placeholder(dtype=dtype, shape=input_dims, name=input_name) 61 input_names=[input_name],
|
D | lru_cache_test.py | 37 input_name = "input" 47 dtype=dtype, shape=[None, 10, 10, 2], name=input_name) 63 input_names=[input_name],
|
D | int32_test.py | 40 input_name = 'input' 46 x = array_ops.placeholder(dtype=dtype, shape=input_dims, name=input_name) 54 input_names=[input_name],
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | make_initial_dequantize_operator.cc | 34 bool AddDequantizeOperatorToInput(const string& input_name, const Operator* op, in AddDequantizeOperatorToInput() argument 41 if (GetOpWithOutput(*model, input_name)) { in AddDequantizeOperatorToInput() 49 if (CountOpsWithInput(*model, input_name) > 1) { in AddDequantizeOperatorToInput() 50 if (op != GetFirstOpWithInput(*model, input_name)) { in AddDequantizeOperatorToInput() 55 auto& input_array = model->GetArray(input_name); in AddDequantizeOperatorToInput() 66 AvailableArrayName(*model, input_name + "_dequantized"); in AddDequantizeOperatorToInput() 69 if (other_op_input == input_name) { in AddDequantizeOperatorToInput() 78 image_input_op->inputs = {input_name}; in AddDequantizeOperatorToInput()
|
D | resolve_constant_concatenation.cc | 150 for (const string& input_name : concat_op->inputs) { in Run() local 154 const Operator* input_op = GetOpWithOutput(*model, input_name); in Run() 156 if (!IsConstantParameterArray(*model, input_name)) in Run() 158 if (!model->GetArray(input_name).has_shape()) in Run() 160 if (model->GetArray(input_name).quantization_params) in Run() 162 if (!IsDiscardableArray(*model, input_name)) in Run() 172 for (const string& input_name : concat_op->inputs) { in Run() local 173 input_arrays.push_back(&model->GetArray(input_name)); in Run() 210 for (const string& input_name : concat_op->inputs) { in Run() local 212 if (CountOpsWithInput(*model, input_name) == 1) { in Run() [all …]
|
D | reorder_reshape_transpose.cc | 141 const string input_name = reshape_op->inputs[0]; in Run() local 161 const auto& input_array = model->GetArray(input_name); in Run() 189 transpose_op->inputs[0] = input_name; in Run() 205 transpose_op->inputs[0] = input_name; in Run() 240 AddMessageF("Swapping around operators between %s and %s", input_name, in Run()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | operator.cc | 67 const string& input_name = op_signature.op->inputs[0]; in GetVersion() local 68 const Array& input_array = op_signature.model->GetArray(input_name); in GetVersion() 106 const string& input_name = op_signature.op->inputs[0]; in GetVersion() local 109 const Array& input_array = op_signature.model->GetArray(input_name); in GetVersion() 163 const string& input_name = op_signature.op->inputs[0]; in GetVersion() local 166 const Array& input_array = op_signature.model->GetArray(input_name); in GetVersion() 203 const string& input_name = op_signature.op->inputs[0]; in GetVersion() local 204 const Array& input_array = op_signature.model->GetArray(input_name); in GetVersion() 249 const string& input_name = op_signature.op->inputs[0]; in GetVersion() local 250 const Array& input_array = op_signature.model->GetArray(input_name); in GetVersion() [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | op_def_library.py | 415 input_name = input_arg.name 416 if input_name in keywords: 417 values = keywords.pop(input_name) 418 elif input_name + "_" in keywords: 421 input_name += "_" 422 values = keywords.pop(input_name) 424 raise TypeError("No argument for input " + input_name) 442 (input_name, op_type_name, values)) 489 (input_name, op_type_name, observed)) 545 (input_name, err)) [all …]
|
D | convert_to_constants.py | 162 input_name = get_name(node.input[0]) 163 while map_name_to_node[input_name].op == "Identity": 164 resource_identities[input_name] = node.attr["dtype"] 165 input_name = get_name(map_name_to_node[input_name].input[0]) 166 if map_name_to_node[input_name].op != "Placeholder": 171 resource_placeholders[input_name] = { 173 "data": tensor_data[input_name],
|
D | graph_util_impl.py | 203 def tensor_shape_from_node_def_name(graph, input_name): argument 208 if ":" not in input_name: 209 canonical_name = input_name + ":0" 211 canonical_name = input_name 350 input_name = re.sub(r"^\^", "", full_input_name) 351 if input_name in names_to_remove: 387 input_name = re.sub(r"^\^", "", full_input_name) 388 while input_name in names_to_splice: 389 full_input_name = names_to_splice[input_name] 390 input_name = re.sub(r"^\^", "", full_input_name)
|
/external/fonttools/Snippets/ |
D | rename-fonts.py | 143 for input_name in options.input_fonts: 144 logger.info("Renaming font: '%s'", input_name) 146 font = TTFont(input_name) 150 output_name = input_name 155 input_name = rename_file( 156 input_name, family_name, options.suffix 158 output_name = makeOutputFileName(input_name, options.output_dir)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | lookup_util.cc | 254 Status GetTableHandle(const string& input_name, OpKernelContext* ctx, in GetTableHandle() argument 258 TF_RETURN_IF_ERROR(ctx->input_ref_mutex(input_name, &mu)); in GetTableHandle() 261 TF_RETURN_IF_ERROR(ctx->mutable_input(input_name, &tensor, true)); in GetTableHandle() 276 Status GetLookupTable(const string& input_name, OpKernelContext* ctx, in GetLookupTable() argument 281 TF_RETURN_IF_ERROR(ctx->input_dtype(input_name, &handle_dtype)); in GetLookupTable() 284 TF_RETURN_IF_ERROR(HandleFromInput(ctx, input_name, &handle)); in GetLookupTable() 288 GetTableHandle(input_name, ctx, &container, &table_handle)); in GetLookupTable() 293 Status GetInitializableLookupTable(const string& input_name, in GetInitializableLookupTable() argument 298 TF_RETURN_IF_ERROR(ctx->input_dtype(input_name, &handle_dtype)); in GetInitializableLookupTable() 301 TF_RETURN_IF_ERROR(HandleFromInput(ctx, input_name, &handle)); in GetInitializableLookupTable() [all …]
|
/external/tensorflow/tensorflow/core/grappler/ |
D | utils.h | 123 inline int NodePositionIfSameNode(const string& input_name, in NodePositionIfSameNode() argument 125 if (input_name.empty()) return -2; in NodePositionIfSameNode() 126 const bool is_ctrl = input_name[0] == '^'; in NodePositionIfSameNode() 127 auto input_it = is_ctrl ? input_name.begin() + 1 : input_name.begin(); in NodePositionIfSameNode() 130 std::distance(input_it, input_name.end()) < node_name.size()) { in NodePositionIfSameNode() 138 if (input_it == input_name.end()) { in NodePositionIfSameNode() 142 std::distance(input_it, input_name.end())); in NodePositionIfSameNode()
|
/external/tensorflow/tensorflow/python/client/ |
D | timeline.py | 532 for input_name in inputs: 533 if input_name not in self._tensors: 538 index = input_name.rfind('/_') 540 input_name = input_name[:index] 542 if input_name in self._tensors: 543 tensor = self._tensors[input_name] 550 input_name] 555 self._chrome_trace.emit_flow_start(input_name, create_time, 558 self._chrome_trace.emit_flow_end(input_name, start_time, 562 input_name)
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_utils.cc | 82 void NodeNamePartsFromInput(const string& input_name, string* prefix, in NodeNamePartsFromInput() argument 84 std::vector<string> input_parts = str_util::Split(input_name, ':'); in NodeNamePartsFromInput() 99 string NodeNameFromInput(const string& input_name) { in NodeNameFromInput() argument 103 NodeNamePartsFromInput(input_name, &prefix, &node_name, &suffix); in NodeNameFromInput() 107 string CanonicalInputName(const string& input_name) { in CanonicalInputName() argument 111 NodeNamePartsFromInput(input_name, &prefix, &node_name, &suffix); in CanonicalInputName() 140 void AddNodeInput(const string& input_name, NodeDef* node) { in AddNodeInput() argument 141 *(node->mutable_input()->Add()) = input_name; in AddNodeInput() 216 const string& input_name = node_def.input(i); in SortByExecutionOrder() local 217 const string& input_node_name = NodeNameFromInput(input_name); in SortByExecutionOrder() [all …]
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | hexagon_rewriter_transform.cc | 51 const string& input_name = context.input_names.at(i); in RewriteQuantizedStrippedModelForHexagon() local 68 LOG(INFO) << "Input(" << i << "): name = " << input_name in RewriteQuantizedStrippedModelForHexagon() 72 inputs.emplace_back(input_name, Tensor(data_type, TensorShape(dims))); in RewriteQuantizedStrippedModelForHexagon()
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | label_wav_test.py | 48 input_name = "test_input" 52 tf.placeholder(tf.string, name=input_name) 60 input_name + ":0", output_name + ":0", 3)
|
/external/tensorflow/tensorflow/examples/label_image/ |
D | label_image.py | 43 input_name = "file_reader" 45 file_reader = tf.read_file(file_name, input_name) 126 input_name = "import/" + input_layer variable 128 input_operation = graph.get_operation_by_name(input_name)
|