Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 235 for hiter (0.18 sec)

  1. tensorflow/cc/framework/grad_op_registry.cc

      CHECK(registry_.insert({op, func}).second) << "Existing gradient for " << op;
      return true;
    }
    
    Status GradOpRegistry::Lookup(const string& op, GradFunc* func) const {
      auto iter = registry_.find(op);
      if (iter == registry_.end()) {
        const string error_msg =
            "No gradient defined for op: " + op +
            ". Please see "
            "https://www.tensorflow.org/code/"
            "tensorflow/cc/gradients/README.md"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/link/testdata/linkname/ok.go

    // license that can be found in the LICENSE file.
    
    // Use of public API is ok.
    
    package main
    
    import (
    	"iter"
    	"unique"
    )
    
    func seq(yield func(int) bool) {
    	yield(123)
    }
    
    var s = "hello"
    
    func main() {
    	h := unique.Make(s)
    	next, stop := iter.Pull(seq)
    	defer stop()
    	println(h.Value())
    	println(next())
    	println(next())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 433 bytes
    - Viewed (0)
  3. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/StatementReplacingVisitorSupport.java

       * replaced.
       */
      @SuppressWarnings("unchecked")
      protected <T extends Statement> void replaceAll(List<T> stats) {
        ListIterator<T> iter = stats.listIterator();
          while (iter.hasNext()) {
              iter.set((T) replace(iter.next()));
          }
      }
    
      /**
       * Replaces the currently visited statement with the specified statement.
       */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

      const auto iter = std::lower_bound(items.begin(), items.end(), item);
      return std::make_tuple(iter, iter != items.end() && *iter == item);
    }
    
    void Insert(const int item, std::vector<int>& items) {
      const auto [iter, found] = Find(item, items);
      if (!found) items.insert(iter, item);
    }
    
    void Erase(const int item, std::vector<int>& items) {
      const auto [iter, found] = Find(item, items);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

                         llvm::StringMap<FunctionMetadata> &metadatas) {
      MLIRContext *context = module_op.getContext();
      SymbolTable symbol_table(module_op);
      for (auto &iter : metadatas) {
        llvm::StringRef host = iter.first();
        FunctionMetadata &metadata = iter.second;
    
        // Do not create any new function for the operations on the localhost.
        if (IsOnLocalHost(host)) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/cmd/link/testdata/linkname/coro.go

    // license that can be found in the LICENSE file.
    
    // Linkname coroswitch is not allowed, even if iter.Pull
    // is instantiated in the same package.
    
    package main
    
    import (
    	"iter"
    	"unsafe"
    )
    
    func seq(yield func(int) bool) {
    	yield(123)
    }
    
    func main() {
    	next, stop := iter.Pull(seq)
    	next()
    	stop()
    	coroswitch(nil)
    }
    
    //go:linkname coroswitch runtime.coroswitch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 506 bytes
    - Viewed (0)
  7. test/fixedbugs/issue55122b.go

    func main() {
    	for i := 0; i < 10000; i++ {
    		h(i)
    		sink = make([]byte, 1024) // generate some garbage
    	}
    }
    
    func h(iter int) {
    	var x [32]byte
    	for i := 0; i < 32; i++ {
    		x[i] = 99
    	}
    	g(&x)
    	if x == ([32]byte{}) {
    		return
    	}
    	for i := 0; i < 32; i++ {
    		println(x[i])
    	}
    	panic(iter)
    }
    
    //go:noinline
    func g(x interface{}) {
    	switch e := x.(type) {
    	case *[32]byte:
    		var c [32]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 18:21:06 UTC 2022
    - 644 bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_util.cc

      for (auto iter : shape_info) {
        std::vector<PartialTensorShape> output_shapes;
        std::transform(iter.second.begin(), iter.second.end(),
                       std::back_inserter(output_shapes),
                       [](const InferredShape& inferred_shape) {
                         return inferred_shape.shape;
                       });
        Node* n = node_name_index[iter.first];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        }
    
        public String toString() {
            String ret = proto + ":" + server + "[" + endpoint;
            if (options != null) {
                Iterator iter = options.keySet().iterator();
                while (iter.hasNext()) {
                    Object key = iter.next();
                    Object val = options.get(key);
                    ret += "," + key + "=" + val;
                }
            }
            ret += "]";
            return ret;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
Back to top