Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for top_k (0.14 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

        backend_config = {
          aggregate_to_topk = true,
          is_fallback = true,
          recall_target = 8.500000e-01 : f32,
          reduction_dim = 1 : i64,
          reduction_input_size_override = -1 : i64,
          top_k = 4 : i64}
        } : (tensor<1x4xf32>, tensor<1x4xi32>, tensor<f32>, tensor<i32>) -> (tensor<1x4xf32>, tensor<1x4xi32>)
      func.return %0#0, %0#1 : tensor<1x4xf32>, tensor<1x4xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    func.func @topk_v2(%input: tensor<16x16xf32>) -> (tensor<16x8xf32>, tensor<16x8xi32>) {
      %k = "tf.Const"() {value = dense<8> : tensor<i32>} : () -> tensor<i32>
    
      // CHECK:     chlo.top_k(%[[INPUT]], k = 8)
      %0:2 = "tf.TopKV2"(%input, %k): (tensor<16x16xf32>, tensor<i32>) -> (tensor<16x8xf32>, tensor<16x8xi32>)
      func.return %0#0, %0#1: tensor<16x8xf32>, tensor<16x8xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Comparators.java

        checkNotNull(comparator);
        return Collector.of(
            () -> TopKSelector.<T>least(k, comparator),
            TopKSelector::offer,
            TopKSelector::combine,
            TopKSelector::topK,
            Collector.Characteristics.UNORDERED);
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/grafana/minio-dashboard.json

            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "topk(1, sum(minio_cluster_capacity_usable_total_bytes{job=~\"$scrape_jobs\"}) by (instance)) - topk(1, sum(minio_cluster_capacity_usable_free_bytes{job=~\"$scrape_jobs\"}) by (instance))",
              "format": "time_series",
              "instant": false,
              "interval": "1m",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Comparators.java

        checkNotNull(comparator);
        return Collector.of(
            () -> TopKSelector.<T>least(k, comparator),
            TopKSelector::offer,
            TopKSelector::combine,
            TopKSelector::topK,
            Collector.Characteristics.UNORDERED);
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // to be consistent with other entrypoints.
      pass_manager.addPass(mlir::mhlo::createHloLegalizeToStablehloPass());
    
      // Decompose CHLO into StableHLO ops
      // TODO(b/331843141): There are some CHLO's like TopK which we could instead
      // lower to TFL ops.
      mlir::stablehlo::experimental::createChloLegalizeToStablehloPipeline(
          pass_manager);
      pass_manager.addPass(mlir::odml::CreateTransposeCommuteOpsPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

                           (TFL_MeanOp $arg0, $arg1, $arg2)>;
    
    def LegalizeSum : Pat<(TF_SumOp $arg, $axes, BoolAttr:$arg2),
                          (TFL_SumOp $arg, (CreateTFCastToInt32Op $axes), $arg2)>;
    
    // TopK in TFL is always sorted so we ignore that attribute here.
    def LegalizeTopKV2 : Pat<(TF_TopKV2Op $input, $k, $ignored_sorted),
                             (TFL_TopKV2Op $input, $k)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

          }
          list.trimToSize();
          return Collections.unmodifiableList(list);
        } else {
          TopKSelector<E> selector = TopKSelector.least(k, this);
          selector.offerAll(iterator);
          return selector.topK();
        }
      }
    
      /**
       * Returns the {@code k} greatest elements of the given iterable according to this ordering, in
       * order from greatest to least. If there are fewer than {@code k} elements present, all will be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Ordering.java

          }
          list.trimToSize();
          return Collections.unmodifiableList(list);
        } else {
          TopKSelector<E> selector = TopKSelector.least(k, this);
          selector.offerAll(iterator);
          return selector.topK();
        }
      }
    
      /**
       * Returns the {@code k} greatest elements of the given iterable according to this ordering, in
       * order from greatest to least. If there are fewer than {@code k} elements present, all will be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/ops.mlir

    }
    
    // -----
    
    // CHECK-LABEL: topk
    func.func @topk(%arg0: tensor<8xf32>, %arg1: tensor<i32>) -> (tensor<?xf32>, tensor<?xi32>) {
      %0, %1 = "tfl.topk_v2"(%arg0, %arg1) : (tensor<8xf32>, tensor<i32>) -> (tensor<?xf32>, tensor<?xi32>)
      func.return %0, %1: tensor<?xf32>, tensor<?xi32>
    }
    
    // -----
    
    // CHECK-LABEL: topk
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
Back to top