/external/tensorflow/tensorflow/python/saved_model/ |
D | method_name_updater_test.py | 137 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"])
|
D | method_name_updater.py | 75 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
|
D | signature_serialization.py | 129 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))
|
D | save.py | 447 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)
|
D | load_v1_in_v2.py | 137 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
|
D | save_test.py | 63 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/ |
D | convert_saved_model.py | 63 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)
|
D | convert_saved_model_test.py | 88 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")
|
D | lite.py | 1113 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/ |
D | model_coverage_lib.py | 365 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/ |
D | auth2-pubkey.c | 168 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()
|
D | PROTOCOL.krl | 157 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".
|
D | auth2-hostbased.c | 238 if ((fp = sshkey_fingerprint(key->cert->signature_key, in hostbased_key_allowed() 243 sshkey_type(key->cert->signature_key), fp, in hostbased_key_allowed()
|
D | krl.c | 464 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/ |
D | export_utils.py | 283 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/ |
D | saved_model_test.py | 62 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/ |
D | tf_signature_def_function_revival_state.h | 47 std::string signature_key; member
|
/external/tensorflow/tensorflow/lite/tools/signature/ |
D | signature_def_util.h | 51 bool HasSignatureDef(const Model* model, const std::string& signature_key);
|
D | signature_def_util.cc | 108 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/ |
D | tensorflow.saved_model.signature_def_utils.-method-name-updater.pbtxt | 11 …argspec: "args=[\'self\', \'signature_key\', \'method_name\', \'tags\'], varargs=None, keywords=No…
|
D | tensorflow.lite.-toco-converter.pbtxt | 18 …\'input_arrays\', \'input_shapes\', \'output_arrays\', \'tag_set\', \'signature_key\'], varargs=No…
|
D | tensorflow.lite.-t-f-lite-converter.pbtxt | 26 …\'input_arrays\', \'input_shapes\', \'output_arrays\', \'tag_set\', \'signature_key\'], varargs=No…
|
/external/tensorflow/tensorflow/lite/tools/ |
D | test_utils.py | 200 signature_key = builder.CreateString('my_key') 224 schema_fb.SignatureDefAddKey(builder, signature_key)
|
/external/tensorflow/tensorflow/python/compiler/tensorrt/ |
D | trt_convert_test.py | 628 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/ |
D | saved_model_utils.cc | 461 func_revival_state.signature_key = reverse_signature_iter->second; in PartiallyReviveSavedModelObjects() 487 func_revival_state.signature_key = reverse_signature_iter->second; in PartiallyReviveSavedModelObjects()
|