/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | signature.cc | 50 Signatures* signatures) { in GetSignatures() argument 59 return ParseAny(any, signatures, "tensorflow.serving.Signatures"); in GetSignatures() 62 Status SetSignatures(const Signatures& signatures, in SetSignatures() argument 68 signatures.SerializeToString( in SetSignatures() 71 any_list->mutable_value()->Add()->PackFrom(signatures); in SetSignatures() 79 Signatures signatures; in GetClassificationSignature() local 80 TF_RETURN_IF_ERROR(GetSignatures(meta_graph_def, &signatures)); in GetClassificationSignature() 81 if (!signatures.has_default_signature()) { in GetClassificationSignature() 84 DebugStringIfAvailable(signatures))); in GetClassificationSignature() 86 if (!signatures.default_signature().has_classification_signature()) { in GetClassificationSignature() [all …]
|
D | signature_test.cc | 44 Signatures signatures; in TEST() local 46 signatures.mutable_default_signature() in TEST() 52 ->PackFrom(signatures); in TEST() 62 Signatures signatures; in TEST() local 63 signatures.mutable_default_signature(); in TEST() 67 ->PackFrom(signatures); in TEST() 79 Signatures signatures; in TEST() local 80 signatures.mutable_default_signature()->mutable_regression_signature(); in TEST() 84 ->PackFrom(signatures); in TEST() 96 Signatures signatures; in TEST() local [all …]
|
D | bundle_shim_test.cc | 152 Signatures signatures; in TEST() local 153 signatures.mutable_default_signature(); in TEST() 159 ->PackFrom(signatures); in TEST() 166 Signatures signatures; in TEST() local 168 signatures.mutable_default_signature()->mutable_regression_signature(); in TEST() 175 ->PackFrom(signatures); in TEST() 192 Signatures signatures; in TEST() local 194 signatures.mutable_default_signature() in TEST() 203 ->PackFrom(signatures); in TEST() 228 Signatures signatures; in TEST() local [all …]
|
D | session_bundle_test.py | 55 def _checkRegressionSignature(self, signatures, sess): argument 56 default_signature = signatures.default_signature 67 def _checkNamedSignatures(self, signatures, sess): argument 68 named_signatures = signatures.named_signatures 110 signatures = manifest_pb2.Signatures() 111 signatures_any[0].Unpack(signatures) 112 self._checkRegressionSignature(signatures, sess) 113 self._checkNamedSignatures(signatures, sess) 148 signatures = manifest_pb2.Signatures() 149 signatures_any[0].Unpack(signatures) [all …]
|
D | bundle_shim.cc | 161 const Signatures& signatures, in ConvertDefaultSignatureToSignatureDef() argument 164 if (!signatures.has_default_signature()) { in ConvertDefaultSignatureToSignatureDef() 176 const Signature& signature = signatures.default_signature(); in ConvertDefaultSignatureToSignatureDef() 197 const Signatures& signatures, in ConvertNamedSignaturesToSignatureDef() argument 200 if (signatures.named_signatures().empty()) { in ConvertNamedSignaturesToSignatureDef() 206 for (const auto& it_named_signature : signatures.named_signatures()) { in ConvertNamedSignaturesToSignatureDef() 321 Signatures signatures; in ConvertSignaturesToSignatureDefs() local 322 GetSignatures(*meta_graph_def, &signatures).IgnoreError(); in ConvertSignaturesToSignatureDefs() 331 signatures, tensor_name_to_dtype, meta_graph_def)); in ConvertSignaturesToSignatureDefs() 333 signatures, tensor_name_to_dtype, meta_graph_def)); in ConvertSignaturesToSignatureDefs()
|
D | bundle_shim.py | 69 def _convert_default_signature_to_signature_def(signatures): argument 83 default_signature = signatures.default_signature 116 def _convert_named_signatures_to_signature_def(signatures): argument 131 input_signature = signatures.named_signatures[ 133 output_signature = signatures.named_signatures[ 170 signatures = collection_def[legacy_constants.SIGNATURES_KEY].any_list.value[0] 171 signatures.Unpack(signatures_proto)
|
D | session_bundle_test.cc | 88 void CheckRegressionSignature(const Signatures& signatures, in CheckRegressionSignature() argument 91 ASSERT_TRUE(signatures.default_signature().has_regression_signature()); in CheckRegressionSignature() 93 signatures.default_signature().regression_signature(); in CheckRegressionSignature() 112 void CheckNamedSignatures(const Signatures& signatures, in CheckNamedSignatures() argument 115 const string input_name = signatures.named_signatures() in CheckNamedSignatures() 121 const string output_name = signatures.named_signatures() in CheckNamedSignatures() 157 Signatures signatures; in CheckSessionBundle() local 158 TF_ASSERT_OK(GetSignatures(bundle.meta_graph_def, &signatures)); in CheckSessionBundle() 159 CheckRegressionSignature(signatures, bundle); in CheckSessionBundle() 160 CheckNamedSignatures(signatures, bundle); in CheckSessionBundle()
|
D | exporter_test.py | 79 signatures = { 118 named_graph_signatures=signatures, 163 signatures = manifest_pb2.Signatures() 164 signatures_any[0].Unpack(signatures) 165 default_signature = signatures.default_signature 168 bindings = signatures.named_signatures["generic"].generic_signature.map 172 signatures.named_signatures["foo"].regression_signature)
|
D | signature.h | 40 Signatures* signatures); 43 Status SetSignatures(const Signatures& signatures,
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | tensor_signature.py | 103 def tensors_compatible(tensors, signatures): argument 116 return signatures is None 119 if not isinstance(signatures, dict): 121 for key in signatures: 124 if not TensorSignature(tensors[key]).is_compatible_with(signatures[key]): 129 if signatures is None or isinstance(signatures, dict): 131 return TensorSignature(tensors).is_compatible_with(signatures) 151 def create_placeholders_from_signatures(signatures): argument 161 if signatures is None: 163 if not isinstance(signatures, dict): [all …]
|
D | tensor_signature_test.py | 46 signatures = tensor_signature.create_signatures(placeholder_a) 48 self.assertFalse(tensor_signature.tensors_compatible(None, signatures)) 51 tensor_signature.tensors_compatible(placeholder_a, signatures)) 53 tensor_signature.tensors_compatible(placeholder_b, signatures)) 55 tensor_signature.tensors_compatible(placeholder_c, signatures)) 57 tensor_signature.tensors_compatible(placeholder_d, signatures)) 60 signatures = tensor_signature.create_signatures(inputs) 61 self.assertTrue(tensor_signature.tensors_compatible(inputs, signatures)) 63 tensor_signature.tensors_compatible(placeholder_a, signatures)) 65 tensor_signature.tensors_compatible(placeholder_b, signatures)) [all …]
|
/external/vboot_reference/tests/ |
D | rsa_padding_test.c | 22 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 0, in TestSignatures() 27 for (i = 1; i < sizeof(signatures) / sizeof(signatures[0]); i++) { in TestSignatures() 28 if (RSAVerify(key, signatures[i], RSA1024NUMBYTES, 0, in TestSignatures() 43 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 0, in TestRSAVerify() 45 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES - 1, 0, in TestRSAVerify() 47 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, kNumAlgorithms, in TestRSAVerify() 49 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 3, in TestRSAVerify() 53 Memcpy(sig, signatures[0], RSA1024NUMBYTES); in TestRSAVerify() 58 Memcpy(sig, signatures[0], RSA1024NUMBYTES); in TestRSAVerify()
|
D | vb20_rsa_padding_tests.c | 55 Memcpy(sig, signatures[0], sizeof(sig)); in test_signatures() 61 for (i = 1; i < sizeof(signatures) / sizeof(signatures[0]); i++) { in test_signatures() 62 Memcpy(sig, signatures[i], sizeof(sig)); in test_signatures() 86 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest() 90 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest() 98 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest() 105 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest() 112 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest() 117 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest()
|
/external/junit/src/main/java/org/junit/experimental/theories/internal/ |
D | Assignments.java | 41 List<ParameterSignature> signatures; in allUnassigned() local 42 signatures = ParameterSignature.signatures(testClass in allUnassigned() 44 signatures.addAll(ParameterSignature.signatures(testMethod)); in allUnassigned() 46 signatures, testClass); in allUnassigned() 140 List<ParameterSignature> signatures = ParameterSignature in getConstructorParameterCount() local 141 .signatures(clazz.getOnlyConstructor()); in getConstructorParameterCount() 142 int constructorParameterCount = signatures.size(); in getConstructorParameterCount()
|
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/ |
D | estimators_test.py | 89 signatures = loader.load(sess, [tag_constants.SERVING], export_location) 94 signatures=signatures, 108 signatures=signatures, 114 signatures=signatures, 126 signatures=signatures,
|
D | saved_model_utils.py | 59 signatures, argument 105 predict_signature = signatures.signature_def[ 118 def filter_continuation(continue_from, signatures, session, features): argument 151 filter_signature = signatures.signature_def[
|
/external/tensorflow/tensorflow/contrib/timeseries/examples/ |
D | multivariate.py | 74 signatures = tf.saved_model.loader.load( 79 continue_from=current_state, signatures=signatures, 96 signatures=signatures,
|
D | lstm.py | 238 signatures = tf.saved_model.loader.load( 242 continue_from=evaluation, signatures=signatures,
|
/external/junit/src/main/java/org/junit/experimental/theories/ |
D | ParameterSignature.java | 37 public static ArrayList<ParameterSignature> signatures(Method method) { in signatures() method in ParameterSignature 38 return signatures(method.getParameterTypes(), method in signatures() 42 public static List<ParameterSignature> signatures(Constructor<?> constructor) { in signatures() method in ParameterSignature 43 return signatures(constructor.getParameterTypes(), constructor in signatures() 47 private static ArrayList<ParameterSignature> signatures( in signatures() method in ParameterSignature
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
D | export_test.py | 63 signatures = manifest_pb2.Signatures() 64 signatures_any[0].Unpack(signatures) 65 default_signature = signatures.default_signature 225 signatures = {} 226 signatures['regression'] = ( 228 return signatures['regression'], signatures
|
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/ |
D | state_space_model_test.py | 200 signatures = loader.load( 205 signatures=signatures, 213 signatures=signatures, 223 signatures=signatures, 232 signatures=signatures, 239 signatures=signatures,
|
/external/wycheproof/doc/ |
D | index.md | 13 if an RSA key generation uses 1024 bits as default or digital signatures 27 * RSA PKCS #1 signatures: If a signature verification allows signatures 28 with lots of modifications, then RSA signatures can be forged for small
|
/external/libvpx/libvpx/test/ |
D | test_intra_pred_speed.cc | 68 void CheckMd5Signature(const char name[], const char *const signatures[], in CheckMd5Signature() argument 75 EXPECT_STREQ(signatures[idx], md5.Get()); in CheckMd5Signature() 79 const char *const signatures[], int block_size) { in TestIntraPred() argument 101 CheckMd5Signature(name, signatures, intra_pred_test_mem.src, in TestIntraPred() 352 const char *const signatures[], int block_size) { in TestHighbdIntraPred() argument 374 CheckMd5Signature(name, signatures, intra_pred_test_mem.src, in TestHighbdIntraPred()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPackageParser.java | 322 Signature[] signatures = null; in parseApkLite() local 341 signatures = ReflectionHelpers.getField(tempPkg, "mSignatures"); in parseApkLite() 370 ReflectionHelpers.ClassParameter.from(Signature[].class, signatures), in parseApkLite() 380 ReflectionHelpers.ClassParameter.from(Signature[].class, signatures), in parseApkLite() 391 ReflectionHelpers.ClassParameter.from(Signature[].class, signatures), in parseApkLite()
|
/external/iptables/extensions/ |
D | libxt_osf.man | 24 0 - Log all matched or unknown signatures 28 2 - Log all known matched signatures
|