Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for spdelta (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        return ((std::abs(diff) + std::abs(delta) - 1) / std::abs(delta));
      }
      return std::ceil(std::abs(diff / delta));
    }
    
    // Builds a constant range tensor of `result_elem_type` elements.
    // Template parameter `FloatOrIntAtrr` must be mlir::IntegerAttr or
    // mlir::FloatAttr.
    template <typename FloatOrIntAtrr>
    DenseElementsAttr BuildConstRangeTensor(Type result_elem_type, int num_elements,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        Type element_type = type.getElementType();
        Attribute start, delta;
        if (mlir::isa<FloatType>(element_type)) {
          start = rewriter.getFloatAttr(element_type, 0.0);
          delta = rewriter.getFloatAttr(element_type, 1.0);
        } else if (mlir::isa<IntegerType>(element_type)) {
          start = rewriter.getIntegerAttr(element_type, 0);
          delta = rewriter.getIntegerAttr(element_type, 1);
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_test.go

    				proxy.PrevSidecarScope.SetDestinationRulesForTesting(tc.prevConfigs)
    			}
    			clusters, removed, delta := cg.DeltaClusters(proxy, tc.configUpdated,
    				&model.WatchedResource{ResourceNames: tc.watchedResourceNames})
    			if delta != tc.usedDelta {
    				t.Errorf("un expected delta, want %v got %v", tc.usedDelta, delta)
    			}
    			assert.Equal(t, removed, tc.removedClusters)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

        sink.close()
      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       * positive values yield dates in the future.
       */
      private fun formatDate(
        delta: Long,
        timeUnit: TimeUnit,
      ): String {
        return formatDate(Date(System.currentTimeMillis() + timeUnit.toMillis(delta)))
      }
    
      private fun formatDate(date: Date): String {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

                 ? ((std::abs(limit - start) + std::abs(delta) - 1) /
                    std::abs(delta))
                 : std::ceil(std::abs((limit - start) / delta));
    }
    
    // Builds a constant range tensor of `result_elem_type` elements.
    // Template parameter `FloatOrIntAtrr` must be mlir::IntegerAttr or
    // mlir::FloatAttr.
    template <typename FloatOrIntAtrr>
    DenseElementsAttr BuildConstRangeTensor(Type result_elem_type, int num_elements,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  6. src/runtime/proc.go

    	assertWorldStopped()
    
    	mp := acquirem() // disable preemption because it can be holding p in a local var
    	if netpollinited() {
    		list, delta := netpoll(0) // non-blocking
    		injectglist(&list)
    		netpollAdjustWaiters(delta)
    	}
    	lock(&sched.lock)
    
    	procs := gomaxprocs
    	if newprocs != 0 {
    		procs = newprocs
    		newprocs = 0
    	}
    	p1 := procresize(procs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let description = [{
        Returns a 1D tensor defined by a sequence from `start` to `limit` with
        a given `delta`.
      }];
    
      let arguments = (ins
        TFL_TensorOf<[I32, F32, I64]>:$start,
        TFL_TensorOf<[I32, F32, I64]>:$limit,
        TFL_TensorOf<[I32, F32, I64]>:$delta);
    
      let results = (outs TFL_TensorOf<[I32, F32, I64]>:$result);
    
      let hasFolder = 1;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    	growth := nfinal - n0
    
    	// We expect 0 or 1 extra goroutine, empirically. Allow up to 5.
    	// Previously we were leaking one per numReq.
    	if int(growth) > 5 {
    		t.Logf("goroutine growth: %d -> %d -> %d (delta: %d)", n0, nhigh, nfinal, growth)
    		t.Error("too many new goroutines")
    	}
    }
    
    // golang.org/issue/4531: Transport leaks goroutines when
    // request.ContentLength is explicitly short
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  9. pkg/scheduler/internal/queue/scheduling_queue_test.go

    					t.Fatalf("unexpected error from AddUnschedulableIfNotPresent: %v", err)
    				}
    				// NOTE: On Windows, time.Now() is not as precise, 2 consecutive calls may return the same timestamp,
    				// resulting in 0 time delta / latency. This will cause the pods to be backed off in a random
    				// order, which would cause this test to fail, since the expectation is for them to be backed off
    				// in a certain order.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  10. src/database/sql/sql_test.go

    	openDelta := (driver.openCount - driver.closeCount) - openDelta0
    	driver.mu.Unlock()
    
    	if openDelta > 2 {
    		t.Logf("open calls = %d", opens)
    		t.Logf("close calls = %d", closes)
    		t.Logf("open delta = %d", openDelta)
    		t.Errorf("db connections opened = %d; want <= 2", openDelta)
    		db.dumpDeps(t)
    	}
    
    	if !waitCondition(t, func() bool {
    		return len(stmt.css) <= nquery
    	}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top