Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,139 for batches (0.19 sec)

  1. pilot/pkg/xds/discovery_test.go

    				expect(0, 0)
    			},
    		},
    		{
    			name: "Should send full updates in batches",
    			test: func(updateCh chan *model.PushRequest, expect func(partial, full int32)) {
    				updateCh <- &model.PushRequest{Full: true}
    				updateCh <- &model.PushRequest{Full: true}
    				expect(0, 1)
    			},
    		},
    		{
    			name: "Should send full updates in batches, partial updates immediately",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/buildtree/IntermediateBuildActionRunner.java

    import org.gradle.internal.operations.RunnableBuildOperation;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.function.Supplier;
    
    /**
     * Executor for batches of intermediate build actions that can be initiated
     * from the top-level build action or from model builders.
     * <p>
     * All actions are always executed, and <b>may run in {@link #isParallel() parallel}</b>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 07:46:55 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc

      func->Execute(exec_ctx, arguments.values(), results);
      host->Await(results);
    
      for (auto& result : results) {
        EXPECT_FALSE(result->IsError());
      }
    }
    
    // Runs a BEF function that batches a function that does nothing just to measure
    // the runtime overhead. The BEF function signature is adapted from a real model
    // and is useful for benchmarking ops with large attributes and many
    // input/output.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 08:08:48 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy

                thread.block()
                stream.received(bytes)
            }
    
            then:
            1 * dispatch.onOutput({ it instanceof ReadStdInEvent }) >> { instant.requested }
        }
    
        def "can read multiple batches of input from client"() {
            def dispatch = Mock(OutputEventListener)
            def stream = new StdInStream(dispatch)
            def text1 = "some text"
            def bytes1 = text1.bytes
            def text2 = "more"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/reconfig_batch_op.mlir

    // RUN: tf-tfrt-opt -split-input-file -tfrt-reconfig-batch-op="tfrt-min-num-batch-threads=2 tfrt-min-max-enqueued-batches=3" %s | FileCheck %s --dump-input=always
    
    // -----
    
    // The num_batch_threads is lowered bound to 2 from the original attribute of 1
    
    // CHECK-LABEL: func private @batched_function
    func.func private @batched_function(%arg0: tensor<1x3xf32>) -> tensor<1x3xf32> {
      %2 = "tf.Identity"(%arg0) : (tensor<1x3xf32>) -> tensor<1x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 17:38:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

      // The TFLite fused op does not support batching yet.
      // TODO(b/158709815): Add support for batches with padded NMS.
      auto boxes_type =
          mlir::dyn_cast<RankedTensorType>(func_.getFunctionType().getInput(0));
      if (boxes_type == nullptr || !boxes_type.hasRank() ||
          boxes_type.getRank() != 2) {
        return func_.emitWarning() << "TFLite does not support batched input for "
                                      "non_max_suppression_padded";
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

        ): List<SmallSubprojectBucket> {
            // splitIntoBuckets() method expects us to split large element into N elements,
            // but we want to have a single bucket with N batches.
            // As a workaround, we repeat the bucket N times, and deduplicate the result at the end
            val resultIncludingDuplicates = splitIntoBuckets(
                LinkedList(subProjectTestClassTimes),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:04:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/runtime/tracebuf.go

    	lastTime traceTime // when we wrote the last event
    	pos      int       // next write offset in arr
    	lenPos   int       // position of batch length value
    }
    
    // traceBuf is per-M tracing buffer.
    //
    // TODO(mknyszek): Rename traceBuf to traceBatch, since they map 1:1 with event batches.
    type traceBuf struct {
    	_ sys.NotInHeap
    	traceBufHeader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. test/rangegen.go

    //	go run x.go
    //
    // but a longer version can be run using
    //
    //	go run rangegen.go long
    //
    // In that second form, rangegen takes care of compiling
    // and running the code it generates, in batches.
    // That form takes 10-20 minutes to run.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"log"
    	"math/bits"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    const verbose = false
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 23:35:19 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/util/Matchers.java

                }
            };
        }
    
        @Factory
        public static Matcher<Throwable> hasMessage(final Matcher<String> matcher) {
            return new BaseMatcher<Throwable>() {
                @Override
                public boolean matches(Object o) {
                    Throwable t = (Throwable) o;
                    return matcher.matches(t.getMessage());
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top