Home
last modified time | relevance | path

Searched refs:signature_key (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/python/saved_model/
Dmethod_name_updater_test.py137 signature_key="serving_default", method_name="classify")
240 signature_key="foo", method_name="regress", tags="serve")
242 signature_key="bar", method_name="classify", tags=["gpu", "serve"])
358 signature_key=None, method_name="classify")
362 signature_key="foobar", method_name="")
368 signature_key="bar", method_name="classify", tags=["gpu"])
374 signature_key="baz", method_name="classify", tags=["serve"])
Dmethod_name_updater.py75 def replace_method_name(self, signature_key, method_name, tags=None): argument
93 if not signature_key:
103 if signature_key not in meta_graph_def.signature_def:
106 " does not have a signature_def with key: " + signature_key +
110 meta_graph_def.signature_def[signature_key].method_name = method_name
Dsignature_serialization.py129 for signature_key, function in signatures.items():
158 structured_outputs, signature_function.name, signature_key)
191 concrete_signatures[signature_key] = final_concrete
196 def _normalize_outputs(outputs, function_name, signature_key): argument
212 .format(key, compat.as_str_any(function_name), signature_key))
219 .format(value, key, compat.as_str_any(function_name), signature_key))
Dsave.py447 def _map_function_arguments_to_created_inputs(function_arguments, signature_key, argument
505 "input.").format(signature_key, compat.as_str_any(function_name),
510 name="{}_{}".format(signature_key, user_input_name))
558 for signature_key, function in sorted(signature_functions.items()):
565 signature_key, function.name))
568 signatures[signature_key] = signature_def_utils.build_signature_def(
719 for signature_key, signature in signatures.items():
720 meta_graph_def.signature_def[signature_key].CopyFrom(signature)
Dload_v1_in_v2.py137 for signature_key, signature_def in meta_graph_def.signature_def.items():
183 "fed a value).\n\n").format(signature_key)
201 signature_functions[signature_key] = signature_fn
Dsave_test.py63 def _run_signature(session, meta_graph_def, inputs, signature_key): argument
64 signature = meta_graph_def.signature_def[signature_key]
81 signature_key=signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY): argument
86 return _run_signature(session, model, inputs, signature_key)
132 save_dir, {"z": 1.}, signature_key="non_default_key"))
166 save_dir, {"z": 1.}, signature_key="non_default_key"))
/external/tensorflow/tensorflow/lite/python/
Dconvert_saved_model.py63 def get_signature_def(meta_graph, signature_key): argument
81 if signature_key not in signature_def_keys:
83 "values are '{}'.".format(signature_key,
85 return signature_def_map[signature_key]
156 output_arrays, tag_set, signature_key): argument
188 signature_def = get_signature_def(meta_graph, signature_key)
Dconvert_saved_model_test.py88 signature_key=None): argument
91 if signature_key is None:
92 signature_key = signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY
100 signature_key=signature_key))
125 self._convertSavedModel(saved_model_dir, signature_key="invalid-key")
Dlite.py1113 signature_key = None
1118 signature_key = signature_keys[0]
1122 saved_model_dir, signature_key=signature_key, tag_set=tags)
1483 signature_key = _signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY
1488 signature_key = self._saved_model_exported_names[0]
1491 self._saved_model_tags, signature_key)
1589 signature_key = _signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY
1591 signature_key)
1595 self._saved_model_exported_names = [signature_key]
1941 signature_key=None): argument
[all …]
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_lib.py365 def evaluate_saved_model(directory, tag_set, signature_key): argument
380 if signature_key is None:
381 signature_key = _signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY
385 meta_graph, signature_key)
717 signature_key=None, argument
747 signature_key=signature_key)
757 tf_eval_func = evaluate_saved_model(directory, tag_set, signature_key)
768 signature_key=None, argument
791 if not signature_key:
792 signature_key = _signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY
[all …]
/external/openssh/
Dauth2-pubkey.c168 ca_s = format_key(key->cert->signature_key); in userauth_pubkey()
487 if ((ca_fp = sshkey_fingerprint(cert->signature_key, in match_principals_command()
497 if ((r = sshkey_to_base64(cert->signature_key, &catext)) != 0) { in match_principals_command()
515 "T", sshkey_ssh_name(cert->signature_key), in match_principals_command()
617 if (!sshkey_equal(found, key->cert->signature_key) || in check_authkey_line()
759 if ((ca_fp = sshkey_fingerprint(key->cert->signature_key, in user_cert_trusted_ca()
763 if ((r = sshkey_in_file(key->cert->signature_key, in user_cert_trusted_ca()
766 sshkey_type(key->cert->signature_key), ca_fp, in user_cert_trusted_ca()
828 sshkey_type(key->cert->signature_key), ca_fp, in user_cert_trusted_ca()
1021 auth_key_is_revoked(key->cert->signature_key)) in user_key_allowed()
DPROTOCOL.krl157 string signature_key
161 to this subsection's "signature_key", including both and using the
162 signature generation rules appropriate for the type of "signature_key".
Dauth2-hostbased.c238 if ((fp = sshkey_fingerprint(key->cert->signature_key, in hostbased_key_allowed()
243 sshkey_type(key->cert->signature_key), fp, in hostbased_key_allowed()
Dkrl.c464 key->cert->signature_key, in ssh_krl_revoke_key()
468 key->cert->signature_key, in ssh_krl_revoke_key()
1299 if ((r = revoked_certs_for_ca_key(krl, key->cert->signature_key, in is_key_revoked()
1328 if ((r = is_key_revoked(krl, key->cert->signature_key)) != 0) in ssh_krl_check_key()
/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dexport_utils.py283 signature_key = SIGNATURE_KEY_MAP[mode]
287 return {signature_key: export_output_lib.TrainOutput(
290 return {signature_key: export_output_lib.EvalOutput(
/external/tensorflow/tensorflow/python/keras/integration_test/
Dsaved_model_test.py62 def _import_and_infer(save_dir, inputs, signature_key="serving_default"): argument
67 return _run_signature(session, model, inputs, signature_key)
70 def _run_signature(session, meta_graph_def, inputs, signature_key): argument
71 signature = meta_graph_def.signature_def[signature_key]
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dtf_signature_def_function_revival_state.h47 std::string signature_key; member
/external/tensorflow/tensorflow/lite/tools/signature/
Dsignature_def_util.h51 bool HasSignatureDef(const Model* model, const std::string& signature_key);
Dsignature_def_util.cc108 bool HasSignatureDef(const Model* model, const std::string& signature_key) { in HasSignatureDef() argument
121 return (signature_defs.find(signature_key) != signature_defs.end()); in HasSignatureDef()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.saved_model.signature_def_utils.-method-name-updater.pbtxt11 …argspec: "args=[\'self\', \'signature_key\', \'method_name\', \'tags\'], varargs=None, keywords=No…
Dtensorflow.lite.-toco-converter.pbtxt18 …\'input_arrays\', \'input_shapes\', \'output_arrays\', \'tag_set\', \'signature_key\'], varargs=No…
Dtensorflow.lite.-t-f-lite-converter.pbtxt26 …\'input_arrays\', \'input_shapes\', \'output_arrays\', \'tag_set\', \'signature_key\'], varargs=No…
/external/tensorflow/tensorflow/lite/tools/
Dtest_utils.py200 signature_key = builder.CreateString('my_key')
224 schema_fb.SignatureDefAddKey(builder, signature_key)
/external/tensorflow/tensorflow/python/compiler/tensorrt/
Dtrt_convert_test.py628 signature_key = "serving_default"
636 input_saved_model_dir, input_saved_model_signature_key=signature_key)
646 self.assertIn(signature_key, meta_graph.signature_def)
647 return meta_graph.signature_def[signature_key]
665 return root.signatures[signature_key].structured_outputs
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dsaved_model_utils.cc461 func_revival_state.signature_key = reverse_signature_iter->second; in PartiallyReviveSavedModelObjects()
487 func_revival_state.signature_key = reverse_signature_iter->second; in PartiallyReviveSavedModelObjects()

12