Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,215 for evenly (0.12 sec)

  1. tensorflow/cc/gradients/math_grad.cc

      auto num_selected = UnsortedSegmentSum(
          scope, Cast(scope, is_selected, grad.type()), op.input(1), op.input(2));
      // Compute the gradient for each segment.The gradient for the ith segment is
      // divided evenly among the selected elements in that segment.
      auto weighted_grads = Div(scope, grad, num_selected);
      auto gathered_grads = GatherDropNegatives(scope, weighted_grads,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  2. cluster/gce/util.sh

          # We should change it at some point, but note #18545 when changing this.
          group_name="${NODE_INSTANCE_PREFIX}-group"
        fi
        # Spread the remaining number of nodes evenly
        this_mig_size=$((instances_left / (NUM_MIGS - i + 1)))
        instances_left=$((instances_left - this_mig_size))
    
        # Run instance-groups creation in parallel.
        {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. src/runtime/symtab.go

    // It must be very cheap to calculate.
    // For now, align to goarch.PtrSize and reduce mod the number of entries.
    // In practice, this appears to be fairly randomly and evenly distributed.
    func pcvalueCacheKey(targetpc uintptr) uintptr {
    	return (targetpc / goarch.PtrSize) % uintptr(len(pcvalueCache{}.entries))
    }
    
    // Returns the PCData value, and the PC where this value starts.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ThrottlingOutputEventListenerTest.groovy

            then:
            0 * _
    
            when:
            renderer.onOutput(end)
    
            then:
            1 * listener.onOutput(event1)
            1 * listener.onOutput(event2)
            1 * listener.onOutput(event3)
            1 * listener.onOutput(end)
            0 * _
        }
    
        def "flushes events on flush event"() {
            def event1 = event('1')
            def event2 = event('2')
            def event3 = event('3')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. pkg/kube/kclient/events.go

    	e.eventRecorder.Eventf(object, eventtype, reason, messageFmt, args...)
    }
    
    // Shutdown terminates the event recorder. This must be called upon completion of writing events, and events should not be
    // written once terminated.
    func (e *EventRecorder) Shutdown() {
    	e.eventBroadcaster.Shutdown()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 22:23:28 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/runtime/mgcmark.go

    			// that we emit an in-progress event if this is
    			// the first event for the goroutine in the trace
    			// or trace generation. Also, do this between
    			// acquire/release because this is part of the
    			// goroutine's trace state, and it must be atomic
    			// with respect to the tracer.
    			gp.inMarkAssist = false
    			traceRelease(trace)
    		} else {
    			// This state is tracked even if tracing isn't enabled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/watch/mux_test.go

    	// Send a couple events before closing the broadcast channel.
    	t.Log("Sending event 1")
    	m.Action(event1.Type, event1.Object)
    	t.Log("Sending event 2")
    	m.Action(event2.Type, event2.Object)
    	m.Shutdown()
    
    	// Pull events from the queue.
    	wg := sync.WaitGroup{}
    	wg.Add(len(watches))
    	for i := range watches {
    		// Verify that each watcher only gets the first event because its watch
    		// queue of length one was full from the first one.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 15:26:25 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/StyledTextOutputBackedRendererTest.groovy

            RenderableOutputEvent event1 = new StyledTextOutputEvent(tenAm, 'category', LogLevel.INFO, null, 'message')
            RenderableOutputEvent event2 = new StyledTextOutputEvent(tenAm, 'category', LogLevel.INFO, null, toNative('\n'))
    
            when:
            renderer.onOutput(new LogLevelChangeEvent(LogLevel.DEBUG))
            renderer.onOutput(event1)
            renderer.onOutput(event2)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestEventSerializerTest.groovy

        }
    
        def "serializes TestStartEvent"() {
            def id = new CompositeIdGenerator.CompositeId(1L, 2L)
            def event1 = new TestStartEvent(123L, id)
            def event2 = new TestStartEvent(456L)
    
            when:
            def result1 = serialize(event1)
            def result2 = serialize(event2)
    
            then:
            result1 instanceof TestStartEvent
            result1.parentId == id
            result1.startTime == 123L
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

    //  tile_assignment_dimensions: 1
    //  tile_assignment_devices: 1
    // Serialized string:
    //  "\08\01\1A\01\01\22\01\01"
    //
    // -----
    
    
    // Tests tile sharding of inputs with number of splits that does not evenly divide
    // the input results in an error.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
Back to top