Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for add_feed (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
Back to top