Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for top_k (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    // CHECK-LABEL:sin
    // CHECK:  "tfl.sin"(%arg0) : (tensor<f32>) -> tensor<f32>
    }
    
    func.func @topk(%arg0: tensor<8xf32>, %arg1: tensor<i32>) -> (tensor<?xf32>, tensor<?xi32>) {
      %0, %1 = "tf.TopKV2"(%arg0, %arg1) : (tensor<8xf32>, tensor<i32>) -> (tensor<?xf32>, tensor<?xi32>)
      func.return %0, %1: tensor<?xf32>, tensor<?xi32>
    
    // CHECK-LABEL: topk
    // CHECK:  "tfl.topk_v2"(%arg0, %arg1)
    // CHECK:  return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        TFL::TopKV2Op top_k_op = rewriter.create<TFL::TopKV2Op>(
            op.getLoc(), new_values_ty, new_indices_ty, op->getOperand(0), k_cst);
    
        // Remove original ops (topk, Slice, Slice).
        if (!values.use_empty()) {
          auto values_slice_op = llvm::dyn_cast_or_null<TFL::SliceOp>(
              values.getUses().begin().getUser());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    This outputs a `batch_size` bool array, an entry `out[i]` is `true` if the
    prediction for the target class is among the top `k` predictions among
    all predictions for example `i`. Note that the behavior of `InTopK` differs
    from the `TopK` op in its handling of ties; if multiple classes have the
    same prediction value and straddle the top-`k` boundary, all of those
    classes are considered to be in the top `k`.
    
    More formally, let
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        TFL_OperandHasRankAtLeast<0, 1>,
        TFL_OperandHasRank<1, 0>,
        PredOpTrait<"result and input element type match",
          TFL_TCresVTEtIsSameAsOp<0,0>>,
        SameOperandsAndResultsScale]> {
      let summary = "TopK operator";
    
      let description = [{
        Returns the top `k` largest element along each last dimensional slice of
        `input` and the indices of values within the last dimension of the input
        tensor.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * Add support for setting a `default_response_class` in the `FastAPI` instance or in `include_router`. Initial PR [#467](https://github.com/tiangolo/fastapi/pull/467) by [@toppk](https://github.com/toppk).
    * Add support for type annotations using strings and `from __future__ import annotations`. PR [#451](https://github.com/tiangolo/fastapi/pull/451) by [@dmontagu](https://github.com/dmontagu).
    
    ## 0.38.1
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
Back to top