Home
last modified time | relevance | path

Searched refs:signatures (Results 1 – 25 of 182) sorted by relevance

12345678

/external/tensorflow/tensorflow/contrib/session_bundle/
Dsignature.cc50 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 …]
Dsignature_test.cc44 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 …]
Dbundle_shim_test.cc152 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 …]
Dsession_bundle_test.py55 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 …]
Dbundle_shim.cc161 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()
Dbundle_shim.py69 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)
Dsession_bundle_test.cc88 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()
Dexporter_test.py79 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)
Dsignature.h40 Signatures* signatures);
43 Status SetSignatures(const Signatures& signatures,
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dtensor_signature.py103 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 …]
Dtensor_signature_test.py46 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/
Drsa_padding_test.c22 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()
Dvb20_rsa_padding_tests.c55 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/
DAssignments.java41 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/
Destimators_test.py89 signatures = loader.load(sess, [tag_constants.SERVING], export_location)
94 signatures=signatures,
108 signatures=signatures,
114 signatures=signatures,
126 signatures=signatures,
Dsaved_model_utils.py59 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/
Dmultivariate.py74 signatures = tf.saved_model.loader.load(
79 continue_from=current_state, signatures=signatures,
96 signatures=signatures,
Dlstm.py238 signatures = tf.saved_model.loader.load(
242 continue_from=evaluation, signatures=signatures,
/external/junit/src/main/java/org/junit/experimental/theories/
DParameterSignature.java37 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/
Dexport_test.py63 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/
Dstate_space_model_test.py200 signatures = loader.load(
205 signatures=signatures,
213 signatures=signatures,
223 signatures=signatures,
232 signatures=signatures,
239 signatures=signatures,
/external/wycheproof/doc/
Dindex.md13 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/
Dtest_intra_pred_speed.cc68 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/
DShadowPackageParser.java322 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/
Dlibxt_osf.man24 0 - Log all matched or unknown signatures
28 2 - Log all known matched signatures

12345678