Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for gather (0.11 sec)

  1. tensorflow/compiler/mlir/lite/tests/optimize_op_order.mlir

      %0 = "tfl.dequantize"(%arg0) : (tensor<1000x1000x!quant.uniform<i8:f32, 7.812500e-03>>) -> tensor<1000x1000xf32>
      %1 = "tfl.gather"(%0, %arg1) {axis = 0 : i32, batch_dims = 0 : i32}: (tensor<1000x1000xf32>, tensor<1x1xi32>) -> tensor<1x1x1000xf32>
      func.return %1 : tensor<1x1x1000xf32>
    
    // CHECK-NEXT: tfl.gather
    // CHECK-NEXT: tfl.dequantize
    }
    
    // CHECK-LABEL: dequantize_pushdown_gather_with_reduction
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 01 02:06:15 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/metrics/testutil_test.go

    	metrics, err := legacyregistry.DefaultGatherer.Gather()
    	if err != nil {
    		t.Fatalf("Failed to gather metrics: %s", err)
    	}
    
    	counterSum := 0
    	for _, mf := range metrics {
    		if mf.GetName() != name {
    			continue // Ignore other metrics.
    		}
    		for _, metric := range mf.GetMetric() {
    			if !testutil.LabelsMatch(metric, labelFilter) {
    				continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 24 04:26:43 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/cc/gradients/data_flow_grad.cc

        // it from a Gather op.
        // i = 0: index = 2
        // i = 1: index = [1, 0]
        auto index = op.input(i);
        if (index.type() != DT_INT32) {
          index = Cast(scope, index, DT_INT32);
        }
        // Gather the index specified locations in the gradient and
        // propagate it as the gradient for the i'th data item.
        // i = 0: gather(grad, 2) = [g_5, g_6]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jul 24 13:40:35 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/decompose_resource_op.mlir

    // CHECK-NEXT: [[res:%.*]] = tfrt_fallback_async.executeop key(1) cost({{.*}}) device("/job:localhost/replica:0/task:0/device:CPU:0") "tf.GatherV2"([[value]], {{.*}}, [[const]])
    // CHECK-NEXT: tfrt.return [[out_chain]], [[res]] : !tfrt.chain, !tfrt_fallback.tf_tensor
    func.func @gather(%indices: tensor<?xi32>,
                 %resource: tensor<*x!tf_type.resource>) -> tensor<*xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/propagate_quantize_type.mlir

    // CHECK: %[[GATHER:.*]] = "tf.XlaGather"(%[[DEQUANTIZED]], %arg0, %cst) <{dimension_numbers = "\0A\02\00\01\12\01\00\1A\02\00\01 \01", indices_are_sorted = true}> : (tensor<200x100x300xf32>, tensor<10x2xi32>, tensor<3xi64>) -> tensor<1x300x10xf32>
    // CHECK: return %[[GATHER]] : tensor<1x300x10xf32>
    
    // -----
    
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/metrics/metrics_test.go

    		t.Fatalf("incorrect sum: %v", s)
    	}
    }
    
    func gatherHistogram(t *testing.T, name string) (count uint64, sum float64) {
    	metrics, err := legacyregistry.DefaultGatherer.Gather()
    	if err != nil {
    		t.Fatalf("Failed to gather metrics: %s", err)
    	}
    	for _, mf := range metrics {
    		if mf.GetName() == name {
    			for _, m := range mf.GetMetric() {
    				h := m.GetHistogram()
    				count += h.GetSampleCount()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.td

    // Convert XlaGather op without batch to Slice op with above two functions.
    def ConvertXlaGatherOpWithoutBatch : Pat<
      (TF_XlaGatherOp:$gather $operand,
        $start_indices, $slice_sizes, $dimension_numbers, $indices_are_sorted),
      (CreateSliceAndReshapeOpFromXlaGatherOpWithoutBatch $operand,
        $start_indices, $slice_sizes, $gather, $dimension_numbers),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. pkg/monitoring/monitortest/test.go

    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    type MetricsTest struct {
    	t      test.Failer
    	reg    prometheus.Gatherer
    	deltas map[metricKey]float64
    }
    
    type metricKey struct {
    	name  string
    	attrs attribute.Set
    }
    
    var reg = lazy.New(func() (prometheus.Gatherer, error) {
    	// TODO: do not use a global and/or add a way to reset (https://github.com/open-telemetry/opentelemetry-go/issues/4291)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. test/typeparam/orderedmapsimp.dir/main.go

    	}
    
    	if _, found := m.Find([]byte("d")); found {
    		panic(fmt.Sprintf("unexpectedly found %q", []byte("d")))
    	}
    
    	gather := func(it *a.Iterator[[]byte, int]) []int {
    		var r []int
    		for {
    			_, v, ok := it.Next()
    			if !ok {
    				return r
    			}
    			r = append(r, v)
    		}
    	}
    	got := gather(m.Iterate())
    	want := []int{'a', 'b', 'x'}
    	if !a.SliceEqual(got, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/instrumented_services_test.go

    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    )
    
    func TestRecordOperation(t *testing.T) {
    	// Use local registry
    	var registry = compbasemetrics.NewKubeRegistry()
    	var gather compbasemetrics.Gatherer = registry
    
    	registry.MustRegister(metrics.RuntimeOperations)
    	registry.MustRegister(metrics.RuntimeOperationsDuration)
    	registry.MustRegister(metrics.RuntimeOperationsErrors)
    
    	registry.Reset()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
Back to top