Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for top_k (0.15 sec)

  1. RELEASE.md

        *   Added reference implementation for 16-bit int and 32-bit unsigned int unquantized `mul`.
        *   `add_op` supports broadcasting up to 6 dimensions.
        *   Added 16-bit support for `top_k`.
    
    *   `tf.function`
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                                   /*outfeed_config=*/rewriter.getStringAttr(""));
        rewriter.eraseOp(op);
        return success();
      }
    };
    
    // Converts tf.TopKV2 to chlo.top_k.
    class ConvertTopKV2Op : public OpRewritePattern<TF::TopKV2Op> {
     public:
      using OpRewritePattern::OpRewritePattern;
    
      LogicalResult matchAndRewrite(TF::TopKV2Op op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/aot/tests/tfcompile_test.cc

      EXPECT_NEAR(expected[1], fn.result0(0, 1), 1e4);
      EXPECT_NEAR(expected[2], fn.result0(1, 0), 1e4);
      EXPECT_NEAR(expected[3], fn.result0(1, 1), 1e4);
    }
    
    TEST(TFCompileTest, TopK) {
      Eigen::ThreadPool tp(1);
      Eigen::ThreadPoolDevice device(&tp, tp.NumThreads());
    
      TopKComp fn;
    
      fn.set_thread_pool(&device);
      // x = [4, 1, 4, 4, 3]
      fn.arg0(0) = 4;
      fn.arg0(1) = 1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
Back to top