Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for gather (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

    LogicalResult HandleTensorListGatherOp(
        TF::TensorListGatherOp gather,
        const llvm::SmallDenseMap<Value, SizeInfo>& buffer_to_size) {
      auto it = buffer_to_size.find(gather.getInputHandle());
      if (it == buffer_to_size.end()) {
        return gather.emitOpError("unknown tensor list");
      }
      auto buffer = gather.getInputHandle();
      auto result = cutil::GatherElements(gather.getIndices(), buffer,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

    // CHECK:  [[FILL:%.*]] = "tf.Fill"([[CONCAT]], [[CST]]) : (tensor<?xi32>, tensor<f32>) -> tensor<*xf32>
    // CHECK:  [[GATHER:%.*]] = "tf.Gather"([[FILL]], %arg2) <{validate_indices = true}> : (tensor<*xf32>, tensor<i32>) -> tensor<*xf32>
    // CHECK:  return [[GATHER]] : tensor<*xf32>
    }
    
    // -----
    
    func.func @EmptyTensorList(%arg0: tensor<3xi32>, %arg1: tensor<i32>, %arg2: tensor<i32>) -> tensor<?x?x?xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  7. src/internal/cpu/cpu_no_name.go

    // if it can be read directly from memory or by CPU instructions.
    // If the CPU name can not be determined an empty string is returned.
    //
    // Implementations that use the Operating System (e.g. sysctl or /sys/)
    // to gather CPU information for display should be placed in internal/sysinfo.
    func Name() string {
    	// "A CPU has no name".
    	return ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:05:43 UTC 2022
    - 620 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/quantize-dynamic-range.mlir

    // CHECK: %[[emb:.*]] = "tfl.gather"(%[[dq_w]], %arg0)
    // CHECK: return %[[emb:.*]]
    
    // PerTensor: %[[q_w:.*]] = "tfl.pseudo_qconst"() <{qtype = tensor<64x3x3x3x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>
    // PerTensor: %[[dq_w:.*]] = "tfl.dequantize"(%[[q_w]]) : (tensor<64x3x3x3x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>) -> tensor<64x3x3x3xf32>
    // PerTensor: %[[emb:.*]] = "tfl.gather"(%[[dq_w]], %arg0)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 21:09:00 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top