- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for has_func (0.12 sec)
-
tensorflow/compiler/jit/xla_cluster_util.cc
// attribute that do not make function calls. return absl::c_any_of(n.def().attr(), [](const std::pair<string, AttrValue>& name_attr_pair) { return name_attr_pair.second.has_func(); }); } bool IsShapeConsumerOp(const Node& node) { return node.type_string() == "Shape" || node.type_string() == "Rank" || node.type_string() == "Size"; } namespace {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
try_use_original_func_name(node_def.mutable_op()); // Change any function attributes in the attrs. for (auto& iter : attrs) { auto& attr = iter.second; if (attr.has_func()) { try_use_original_func_name(attr.mutable_func()->mutable_name()); } else if (attr.has_list()) { for (auto& func_attr : *attr.mutable_list()->mutable_func()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
try_use_original_func_name(node_def.mutable_op()); // Change any function attributes in the attrs. for (auto& iter : attrs) { auto& attr = iter.second; if (attr.has_func()) { try_use_original_func_name(attr.mutable_func()->mutable_name()); } else if (attr.has_list()) { for (auto& func_attr : *attr.mutable_list()->mutable_func()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
byte[] input, String algorithm, SecretKey key, HashFunction hashFunc) throws Exception { Mac mac = Mac.getInstance(algorithm); mac.init(key); mac.update(input); assertEquals(HashCode.fromBytes(mac.doFinal()), hashFunc.hashBytes(input)); assertEquals(HashCode.fromBytes(mac.doFinal(input)), hashFunc.hashBytes(input)); } // Tests from RFC2022: https://tools.ietf.org/html/rfc2202
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
byte[] input, String algorithm, SecretKey key, HashFunction hashFunc) throws Exception { Mac mac = Mac.getInstance(algorithm); mac.init(key); mac.update(input); assertEquals(HashCode.fromBytes(mac.doFinal()), hashFunc.hashBytes(input)); assertEquals(HashCode.fromBytes(mac.doFinal(input)), hashFunc.hashBytes(input)); } // Tests from RFC2022: https://tools.ietf.org/html/rfc2202
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/passbm_test.go
func BenchmarkMultiPassBlock(b *testing.B) { benchFnBlock(b, multi, genFunction) } // benchFnPass runs passFunc b.N times across a single function. func benchFnPass(b *testing.B, fn passFunc, size int, bg blockGen) { b.ReportAllocs() c := testConfig(b) fun := c.Fun("entry", bg(size)...) CheckFunc(fun.f) b.ResetTimer() for i := 0; i < b.N; i++ { fn(fun.f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 3.1K bytes - Viewed (0) -
src/crypto/crypto.go
import ( "hash" "io" "strconv" ) // Hash identifies a cryptographic hash function that is implemented in another // package. type Hash uint // HashFunc simply returns the value of h so that [Hash] implements [SignerOpts]. func (h Hash) HashFunc() Hash { return h } func (h Hash) String() string { switch h { case MD4: return "MD4" case MD5: return "MD5" case SHA1: return "SHA-1"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 6.8K bytes - Viewed (0) -
src/crypto/ed25519/ed25519.go
return bytes.Clone(priv[:SeedSize]) } // Sign signs the given message with priv. rand is ignored and can be nil. // // If opts.HashFunc() is [crypto.SHA512], the pre-hashed variant Ed25519ph is used // and message is expected to be a SHA-512 hash, otherwise opts.HashFunc() must // be [crypto.Hash](0) and the message must not be hashed, as Ed25519 performs two // passes over messages to be signed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 11.7K bytes - Viewed (0) -
src/crypto/tls/auth.go
} if err := rsa.VerifyPKCS1v15(pubKey, hashFunc, signed, sig); err != nil { return err } case signatureRSAPSS: pubKey, ok := pubkey.(*rsa.PublicKey) if !ok { return fmt.Errorf("expected an RSA public key, got %T", pubkey) } signOpts := &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash} if err := rsa.VerifyPSS(pubKey, hashFunc, signed, sig, signOpts); err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/link/internal/wasm/asm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0)