Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.cc

            spec->biases_params[2] = {{0, 1},
                                      quant::GetUniformQuantizedTypeForBias};
          }
        } else if (function_name.contains("gather")) {
          // Note that gather has axis attribute that specifies channel axis.
          spec->coeff_op_quant_dim[0] = -1;
        }
        for (auto quantizable_operand : spec->coeff_op_quant_dim) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. pkg/registry/rbac/clusterrole/policybased/storage.go

    	if err := rbacregistryvalidation.ConfirmNoEscalationInternal(ctx, s.ruleResolver, rules); err != nil {
    		return nil, apierrors.NewForbidden(groupResource, clusterRole.Name, err)
    	}
    	// to set the aggregation rule, since it can gather anything, requires * on *.*
    	if hasAggregationRule(clusterRole) {
    		if err := rbacregistryvalidation.ConfirmNoEscalationInternal(ctx, s.ruleResolver, fullAuthority); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

      }
    
      LiftQuantizableSpotsAsFunctionsDRQPass(
          const LiftQuantizableSpotsAsFunctionsDRQPass& other) {
        quantization_method_ = other.quantization_method_;
        target_opset_ = other.target_opset_;
        min_num_elements_for_weights_ = other.min_num_elements_for_weights_;
      }
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/fuzzing/op_fuzzing.bzl

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top