Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. istioctl/pkg/multixds/gather.go

    // distributed under the License is distributed on an "AS IS" BASIS,
    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package multixds
    
    // multixds knows how to target either central Istiod or all the Istiod pods on a cluster.
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/aot/tests/tfcompile_test.cc

      }
    }
    
    TEST(TFCompileTest, Gather) {
      GatherComp gather;
      EXPECT_EQ(gather.arg0_data(), gather.arg_data(0));
      EXPECT_EQ(gather.arg1_data(), gather.arg_data(1));
    
      // Successful gather.
      {
        const float params[4] = {1, 2, 3, 4};
        std::copy(params + 0, params + 4, gather.arg0_data());
        const int32 indices[2] = {1, 3};
        std::copy(indices + 0, indices + 2, gather.arg1_data());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

      %15 = "mhlo.gather"(%arg0, %14) <{dimension_numbers = #mhlo.gather<offset_dims = [0, 1, 3], collapsed_slice_dims = [2], start_index_map = [2], index_vector_dim = 1>, slice_sizes = dense<[4, 8, 1, 32]> : tensor<4xi64>}> : (tensor<4x8x32x32xf32>, tensor<64x1xi32>) -> tensor<4x8x64x32xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

        TF::TensorArrayGatherV3Op gather,
        const llvm::SmallDenseMap<Value, TensorArrayStats>& stats) {
      auto local_var = gather.getHandle();
      if (stats.count(local_var) == 0) {
        return gather.emitOpError("unknown tensor array");
      }
      OpBuilder builder(gather);
      auto buffer = cutil::ReadLocalVariable(local_var, builder, gather.getLoc());
      auto result = cutil::GatherElements(gather.getIndices(), buffer, builder,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  10. 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)
Back to top