- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for add_seed (0.17 sec)
-
tensorflow/cc/client/client_session_test.cc
auto b = Placeholder(root, DT_INT32); auto c = Add(root, a, b); ClientSession session(root); std::vector<Tensor> outputs; CallableOptions options; options.add_feed(a.node()->name()); options.add_feed(b.node()->name()); options.add_fetch(c.node()->name()); ClientSession::CallableHandle callable; TF_CHECK_OK(session.MakeCallable(options, &callable)); TF_EXPECT_OK(session.RunCallable(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen_test.cc
opts.namespaces = {"foo", "bar"}; opts.gen_name_to_index = true; opts.gen_program_shape = true; tf2xla::Config config; tf2xla::Feed* feed = config.add_feed(); feed->mutable_id()->set_node_name("feed0"); feed->set_name("myfeed"); feed = config.add_feed(); feed->mutable_id()->set_node_name("feed1"); tf2xla::Fetch* fetch = config.add_fetch(); fetch->mutable_id()->set_node_name("fetch0");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 01 02:13:40 UTC 2024 - 10.2K bytes - Viewed (0) -
src/hash/maphash/smhasher_test.go
t.Skip("32-bit platforms don't have ideal seed-input distributions (see issue 33988)") } t.Parallel() h := newHashSet() const N = 100000 s := "hello" for i := 0; i < N; i++ { h.addS_seed(s, Seed{s: uint64(i + 1)}) h.addS_seed(s, Seed{s: uint64(i+1) << 32}) // make sure high bits are used } h.check(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 11K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage.go
ss := &eps.Subsets[(ssSeed+ssi)%len(eps.Subsets)] if len(ss.Addresses) == 0 { continue } for i := range ss.Ports { if ss.Ports[i].Name == portStr { addrSeed := rand.Intn(len(ss.Addresses)) // This is a little wonky, but it's expensive to test for the presence of a Pod // So we repeatedly try at random and validate it, this means that for an invalid
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:33 UTC 2024 - 22.3K bytes - Viewed (0) -
src/runtime/hash_test.go
func (s *HashSet) add(h uintptr) { s.list = append(s.list, h) } func (s *HashSet) addS(x string) { s.add(StringHash(x, 0)) } func (s *HashSet) addB(x []byte) { s.add(BytesHash(x, 0)) } func (s *HashSet) addS_seed(x string, seed uintptr) { s.add(StringHash(x, seed)) } func (s *HashSet) check(t *testing.T) { list := s.list slices.Sort(list) collisions := 0 for i := 1; i < len(list); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 17:50:18 UTC 2024 - 18.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_generated.h
struct RandomOptionsBuilder { typedef RandomOptions Table; ::flatbuffers::FlatBufferBuilder &fbb_; ::flatbuffers::uoffset_t start_; void add_seed(int64_t seed) { fbb_.AddElement<int64_t>(RandomOptions::VT_SEED, seed, 0); } void add_seed2(int64_t seed2) { fbb_.AddElement<int64_t>(RandomOptions::VT_SEED2, seed2, 0); } explicit RandomOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 1M bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.cc
*callable_options.mutable_run_options() = run_options; for (const auto& input : inputs) { const string& name = input.first; const Tensor& tensor = input.second; callable_options.add_feed(name); feed_tensors.push_back(tensor); } for (const string& output_tensor_name : output_tensor_names) { callable_options.add_fetch(output_tensor_name); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0) -
subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/jquery.jstree.js
return $.vakata.css.get_css(rule_name); }, remove_css : function(rule_name, sheet) { return $.vakata.css.get_css(rule_name, true, sheet); }, add_sheet : function(opts) { var tmp = false, is_new = true; if(opts.str) { if(opts.title) { tmp = $("style[id='" + opts.title + "-stylesheet']")[0]; } if(tmp) { is_new = false; } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 09:03:42 UTC 2021 - 49.5K bytes - Viewed (0) -
src/net/http/transport_test.go
func testTransportReadToEndReusesConn(t *testing.T, mode testMode) { const msg = "foobar" var addrSeen map[string]int ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { addrSeen[r.RemoteAddr]++ if r.URL.Path == "/chunked/" { w.WriteHeader(200) w.(Flusher).Flush() } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
src/net/http/serve_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)