Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      %indices = "tf.Const"() {value = dense<[1, 2]> : tensor<2xi32>} : () -> tensor<2xi32>
      %gather = "tf.TensorArrayGatherV3"(%ta#0, %indices, %ta#1) : (tensor<!tf_type.resource>, tensor<2xi32>, tensor<f32>) -> tensor<2x3xf32>
      func.return %gather : tensor<2x3xf32>
    }
    
    // -----
    
    // Test inferring shape from the element_shape attribute of gather.
    
    // CHECK-LABEL: func @main
    func.func @main() -> tensor<*xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

          : quant_options_(quant_options), test_mode_(false) {}
    
      LiftQuantizableSpotsAsFunctionsPass(
          const LiftQuantizableSpotsAsFunctionsPass& other) {
        quant_options_ = other.quant_options_;
        test_mode_ = other.test_mode_;
        op_set_ = other.op_set_;
        initializeForTest();
      }
    
      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: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK: stablehlo.gather
    // CHECK-NOT: tfl.gather_nd
    // CHECK-NOT: tfl.gather
    
    // -----
    
    // Tests that a float `stablehlo.gather` is not converted to `tfl.gather_nd`.
    
    func.func @gather_float(%arg0: tensor<3x4x2x2xf32>, %arg1: tensor<2x3x2xi64>) -> tensor<2x3x2x2xf32> {
      %0 = "stablehlo.gather"(%arg0, %arg1) {
        dimension_numbers = #stablehlo.gather<
          offset_dims = [2, 3],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

      ) -> Tuple[core.Tensor, core.Tensor]:
        """Creates a basic gather model.
    
        This is intended to be used for TF1 (graph mode) tests.
    
        Args:
          input_type: type of the input index tensor for gather operation.
          use_variable_for_filter: Setting this to `True` makes the filter for the
            gather operation a `tf.Variable`.
    
        Returns:
          in_placeholder: Input tensor placeholder.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

            if self.same_scale_op == 'concatenate':
              ones = array_ops.ones_like(out)
              out = array_ops.concat([out, ones], 0)
            elif self.same_scale_op == 'gather':
              out = array_ops.gather(out, indices=[0], axis=0)
            elif self.same_scale_op == 'max_pool':
              out = nn_ops.max_pool(out, ksize=3, strides=1, padding='SAME')
            elif self.same_scale_op == 'pad':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top