Home
last modified time | relevance | path

Searched refs:output_name (Results 1 – 25 of 226) sorted by relevance

12345678910

/external/tensorflow/tensorflow/tools/benchmark/
Dbenchmark_model_test.cc31 string* output_name, GraphDef* graph_def) { in CreateTestGraph() argument
46 *output_name = m.node()->name(); in CreateTestGraph()
56 string output_name; in TEST() local
58 CreateTestGraph(root, &input, &output_name, &graph_def); in TEST()
73 0.0, 10, 0.0, {input}, {output_name}, {}, session.get(), stats.get(), in TEST()
84 string output_name; in TEST() local
86 CreateTestGraph(root, &input, &output_name, &graph_def); in TEST()
98 0.0, 10, 0.0, {input}, {output_name}, {}, session.get(), stats.get(), in TEST()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dremove_trivial_passthrough.cc97 const std::string output_name = passthru_op->outputs[0]; in RemoveTrivialPassthroughOp() local
99 if (IsDiscardableArray(*model, output_name)) { in RemoveTrivialPassthroughOp()
102 LogName(*passthru_op), main_input_name, output_name); in RemoveTrivialPassthroughOp()
103 Reroute(output_name, main_input_name, model); in RemoveTrivialPassthroughOp()
109 LogName(*passthru_op), output_name, main_input_name); in RemoveTrivialPassthroughOp()
110 Reroute(main_input_name, output_name, model); in RemoveTrivialPassthroughOp()
125 InsertCopyOperator(model, main_input_name, output_name); in RemoveTrivialPassthroughOp()
Dreorder_elementwise_unary.cc107 const std::string output_name = element_op->outputs[0]; in Run() local
115 if (!IsDiscardableArray(*model, output_name)) { in Run()
121 new_intermediate_name, output_name); in Run()
127 move_op->outputs[0] = output_name; in Run()
133 if (consumer->inputs[j] == output_name) { in Run()
140 move_op->inputs[0] = output_name; in Run()
Dreorder_reshape_transpose.cc143 const std::string output_name = transpose_op->outputs[0]; in Run() local
163 const auto& output_array = model->GetArray(output_name); in Run()
182 if (!IsDiscardableArray(*model, output_name)) { in Run()
192 reshape_op->outputs[0] = output_name; in Run()
199 if (consumer->inputs[j] == output_name) { in Run()
206 reshape_op->inputs[0] = output_name; in Run()
241 output_name); in Run()
/external/rust/crates/grpcio-sys/grpc/tools/buildgen/
D_mako_renderer.py70 output_name = None
92 output_name = arg
124 with open(output_name, 'w') as output_file:
131 if not os.path.exists(output_name):
133 elif os.path.isfile(output_name):
134 os.unlink(output_name)
136 shutil.rmtree(output_name, ignore_errors=True)
154 output_name,
/external/blktrace/btt/
Dargs.c273 static FILE *std_open(char *output_name, char *sfx, char *msg) in std_open() argument
276 char fname[strlen(output_name) + 32]; in std_open()
278 sprintf(fname, "%s.%s", output_name, sfx); in std_open()
337 output_name = optarg; in handle_args()
408 if (output_name == NULL) { in handle_args()
412 rngs_ofp = std_open(output_name, "dat", "range data"); in handle_args()
413 avgs_ofp = std_open(output_name, "avg", "stats data"); in handle_args()
414 msgs_ofp = std_open(output_name, "msg", "K messages"); in handle_args()
416 xavgs_ofp = std_open(output_name, "xvg", in handle_args()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dfake_session.cc138 for (const std::string& output_name : output_names) { in Run() local
140 if (output_name == "dense/bias") { in Run()
144 } else if (output_name == "dense/kernel") { in Run()
149 } else if (output_name == "var1") { in Run()
155 } else if (output_name == "var2") { in Run()
161 } else if (output_name == "var3") { in Run()
167 } else if (output_name == "invalid_var") { in Run()
173 } else if (absl::StartsWith(output_name, "var")) { in Run()
175 "Can't find variable " + output_name + " in session"); in Run()
/external/grpc-grpc/tools/buildgen/
Dmako_renderer.py64 output_name = None
86 output_name = arg
144 with open(output_name, 'w') as output_file:
150 if not os.path.exists(output_name):
152 elif os.path.isfile(output_name):
153 os.unlink(output_name)
155 shutil.rmtree(output_name, ignore_errors=True)
173 output_name,
/external/libcxx/utils/google-benchmark/tools/gbench/
Dutil.py129 output_name = find_benchmark_flag('--benchmark_out=',
132 if output_name is None:
134 thandle, output_name = tempfile.mkstemp()
137 ['--benchmark_out=%s' % output_name]
145 json_res = load_benchmark_results(output_name)
147 os.unlink(output_name)
/external/google-benchmark/tools/gbench/
Dutil.py129 output_name = find_benchmark_flag('--benchmark_out=',
132 if output_name is None:
134 thandle, output_name = tempfile.mkstemp()
137 ['--benchmark_out=%s' % output_name]
145 json_res = load_benchmark_results(output_name)
147 os.unlink(output_name)
/external/cronet/build/apple/
Dapple_info_plist.gni27 # output_name:
45 if (defined(invoker.output_name)) {
46 output_name = invoker.output_name
48 output_name = "$target_gen_dir/$target_name.plist"
/external/angle/build/apple/
Dapple_info_plist.gni27 # output_name:
45 if (defined(invoker.output_name)) {
46 output_name = invoker.output_name
48 output_name = "$target_gen_dir/$target_name.plist"
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Dresolve_constant_unary_test.cc37 const std::string output_name("output"); in RunResolveSum() local
38 model.flags.add_output_arrays(output_name); in RunResolveSum()
41 Array& output = model.GetOrCreateArray(output_name); in RunResolveSum()
56 sum_op->outputs = {output_name}; in RunResolveSum()
/external/XNNPACK/tools/
Dgenerate-gemm-test.py1004 for output_name in options.output:
1006 if os.path.exists(output_name):
1007 with codecs.open(output_name, "r", encoding="utf-8") as output_file:
1008 txt_changed = output_file.read() != outputs[output_name]
1011 with codecs.open(output_name, "w", encoding="utf-8") as output_file:
1012 output_file.write(outputs[output_name])
/external/pdfium/testing/
Dtest.gni23 # output_name is used to allow targets with the same name but in different
26 if (defined(invoker.output_name)) {
27 _output_name = invoker.output_name
62 output_name = rebase_path(_exec_output, root_out_dir)
125 if (defined(invoker.output_name)) {
126 apk_name = invoker.output_name
127 install_script_name = "install_${invoker.output_name}"
237 if (defined(invoker.output_name) && target_name != invoker.output_name) {
238 group("${invoker.output_name}_run") {
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dnativesignaturerunner_jni.cc50 int GetOutputTensorIndex(const char* output_name) { in GetOutputTensorIndex() argument
52 signature_runner_->signature_def_->outputs.find(output_name); in GetOutputTensorIndex()
73 int GetOutputIndex(const char* output_name) { in GetOutputIndex() argument
74 int output_tensor_index = GetOutputTensorIndex(output_name); in GetOutputIndex()
186 JNIEnv* env, jclass clazz, jlong handle, jstring output_name) { in Java_org_tensorflow_lite_NativeSignatureRunnerWrapper_nativeGetOutputIndex() argument
194 const char* output_name_ptr = env->GetStringUTFChars(output_name, nullptr); in Java_org_tensorflow_lite_NativeSignatureRunnerWrapper_nativeGetOutputIndex()
197 env->ReleaseStringUTFChars(output_name, output_name_ptr); in Java_org_tensorflow_lite_NativeSignatureRunnerWrapper_nativeGetOutputIndex()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc87 string output_name = "normalized"; in ReadTensorFromImageFile() local
122 Div(root.WithOpName(output_name), Sub(root, resized, {input_mean}), in ReadTensorFromImageFile()
134 session->Run({}, {output_name, original_name}, {}, out_tensors)); in ReadTensorFromImageFile()
147 string output_name = "file_writer"; in SaveImage() local
152 root.WithOpName(output_name), file_path, image_encoder); in SaveImage()
161 TF_RETURN_IF_ERROR(session->Run({}, {}, {output_name}, &outputs)); in SaveImage()
192 string output_name = "top_k"; in GetTopDetections() local
193 TopK(root.WithOpName(output_name), outputs[0], how_many_labels); in GetTopDetections()
205 TF_RETURN_IF_ERROR(session->Run({}, {output_name + ":0", output_name + ":1"}, in GetTopDetections()
/external/fonttools/Snippets/
Drename-fonts.py149 output_name = input_name
151 output_name = options.output_file
157 output_name = makeOutputFileName(input_name, options.output_dir)
159 font.save(output_name)
160 logger.info("Saved font: '%s'", output_name)
/external/armnn/python/pyarmnn/test/
Dtest_deserializer.py51 output_name = "dense/Softmax"
53 output_binding_info1 = parser.GetNetworkOutputBindingInfo(layer_id, output_name)
84 output_name = 'dense/Softmax'
104 out_bind_info = parser.GetNetworkOutputBindingInfo(layer_id, output_name)
/external/cronet/build/config/mac/
Drules.gni97 # output_name:
186 if (defined(invoker.output_name)) {
187 executable_name = invoker.output_name
209 if (defined(invoker.output_name)) {
210 _output_name = invoker.output_name
282 "output_name",
289 output_name = _output_name
406 # output_name:
423 if (defined(invoker.output_name)) {
424 _output_name = invoker.output_name
[all …]
/external/angle/build/config/mac/
Drules.gni97 # output_name:
186 if (defined(invoker.output_name)) {
187 executable_name = invoker.output_name
209 if (defined(invoker.output_name)) {
210 _output_name = invoker.output_name
282 "output_name",
289 output_name = _output_name
406 # output_name:
416 if (defined(invoker.output_name)) {
417 _output_name = invoker.output_name
[all …]
/external/tensorflow/tensorflow/examples/speech_commands/
Dlabel_wav_test.py44 output_name = "test_output"
48 tf.zeros([1, 3], name=output_name)
55 input_name + ":0", output_name + ":0", 3)
/external/tensorflow/tensorflow/examples/label_image/
Dmain.cc124 string output_name = "normalized"; in ReadTensorFromImageFile() local
170 Div(root.WithOpName(output_name), Sub(root, resized, {input_mean}), in ReadTensorFromImageFile()
181 TF_RETURN_IF_ERROR(session->Run({inputs}, {output_name}, {}, out_tensors)); in ReadTensorFromImageFile()
211 string output_name = "top_k"; in GetTopLabels() local
212 TopK(root.WithOpName(output_name), outputs[0], how_many_labels); in GetTopLabels()
224 TF_RETURN_IF_ERROR(session->Run({}, {output_name + ":0", output_name + ":1"}, in GetTopLabels()
/external/angle/build/
Dsymlink.gni41 # binary_output_name: The output_name set by the binary_label target
43 # output_name: Where to create the symlink
77 if (defined(invoker.output_name)) {
78 _output_name = invoker.output_name
/external/cronet/build/
Dsymlink.gni41 # binary_output_name: The output_name set by the binary_label target
43 # output_name: Where to create the symlink
77 if (defined(invoker.output_name)) {
78 _output_name = invoker.output_name

12345678910