Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for top_k (0.09 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        if (!backend_config) {
          return op.emitOpError() << "Missing backend_config attribute";
        }
    
        for (const auto& attr : backend_config) {
          auto name = attr.getName();
          if (!(name == "top_k" || name == "reduction_dim" ||
                name == "recall_target" || name == "aggregate_to_topk" ||
                name == "reduction_input_size_override" || name == "is_fallback")) {
            return op.emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          )
          def multiple_output_ops(
              self, input_tensor: core.Tensor
          ) -> Mapping[str, core.Tensor]:
            k = array_ops.constant(4, dtype=dtypes.int32)
            values, indices = nn_ops.top_k(input_tensor, k, name='TopK')
            adj_values = values + 2
            return {'indices': indices, 'adj_values': adj_values, 'values': values}
    
          @def_function.function(
              input_signature=[
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. docs/id/docs/tutorial/index.md

    Tutorial ini menunjukan cara menggunakan ***FastAPI*** dengan semua fitur-fiturnya, tahap demi tahap.
    
    Setiap bagian dibangun secara bertahap dari bagian sebelumnya, tetapi terstruktur untuk memisahkan banyak topik, sehingga kamu bisa secara langsung menuju ke topik spesifik untuk menyelesaikan kebutuhan API tertentu.
    
    Ini juga dibangun untuk digunakan sebagai referensi yang akan datang.
    
    Sehingga kamu dapat kembali lagi dan mencari apa yang kamu butuhkan dengan tepat.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

          }
        }
      }
    }
    
    // Information to identify an output in its node and in the model output list.
    // Ex: If the model output list is ["add:0", "topk:0": "topk:1"], then the
    // output corresponding to "topk:1" will have output_index=2 and tensor_index=1.
    struct OutputInfo {
      // The index of this output in the model output list.
      int32_t output_index;
      // The index of this output in its node.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top