Home
last modified time | relevance | path

Searched refs:input_name (Results 1 – 25 of 112) sorted by relevance

12345

/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dbase_test.py40 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 …]
Dtopk_test.py35 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],
Dreshape_transpose_test.py33 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],
Dconv2d_test.py150 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],
Didentity_output_test.py44 input_name = 'input'
49 dtype=dtypes.float32, shape=input_dims, name=input_name)
63 input_names=[input_name],
Dbinary_tensor_weight_broadcast_test.py39 input_name = "input"
45 dtype=dtypes.float32, shape=input_dims, name=input_name)
65 input_names=[input_name],
Dmemory_alignment_test.py37 input_name = "input"
43 dtype=dtype, shape=[None] + input_dims[1:], name=input_name)
64 input_names=[input_name],
Dneighboring_engine_test.py38 input_name = "input"
43 x = array_ops.placeholder(dtype=dtype, shape=input_dims, name=input_name)
61 input_names=[input_name],
Dlru_cache_test.py37 input_name = "input"
47 dtype=dtype, shape=[None, 10, 10, 2], name=input_name)
63 input_names=[input_name],
Dint32_test.py40 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/
Dmake_initial_dequantize_operator.cc34 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()
Dresolve_constant_concatenation.cc150 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 …]
Dreorder_reshape_transpose.cc141 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/
Doperator.cc67 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/
Dop_def_library.py415 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 …]
Dconvert_to_constants.py162 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],
Dgraph_util_impl.py203 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/
Drename-fonts.py143 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/
Dlookup_util.cc254 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/
Dutils.h123 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/
Dtimeline.py532 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/
Dtransform_utils.cc82 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/
Dhexagon_rewriter_transform.cc51 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/
Dlabel_wav_test.py48 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/
Dlabel_image.py43 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)

12345