- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 101 for Indices (0.11 sec)
-
tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py
for i in range(len(shape)): rdims = tf.raw_ops.OneHot( indices=i, depth=len(shape), on_value=True, off_value=False, axis=-1) rarray = tf.raw_ops.Reverse(tensor=input_, dims=rdims) left_padding_size = tf.raw_ops.GatherNd(params=paddings, indices=[i, 0]) right_padding_size = tf.raw_ops.GatherNd(params=paddings, indices=[i, 1]) if mode == 'REFLECT': left_padding, _ = tf.raw_ops.SplitV(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 01 05:00:29 UTC 2021 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc
namespace { // Returns contiguous offset (address) of the position represented by `indices` // in a `shape` shaped tensor. Assumes row-major order. `indices` and `shape` // should have the same size. // Example: Index (2, 3) of a (4, 5)-shaped tensor has the contiguous offset of // 2 * 5 + 3 = 13. int64_t GetContiguousOffset(const ArrayRef<int64_t> indices, const ArrayRef<int64_t> shape) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/fuse_mlrt_ops.mlir
func.func @main() -> (!tf_mlrt.tensor, !tf_mlrt.tensor) { // CHECK-NEXT: [[r:%.*]]:3 = tf_mlrt.get_resource {indices = [2, 0, 1]} // CHECK-NEXT: [[v:%.*]] = tf_mlrt.executeop([[r]]#0, [[r]]#1) // CHECK-NEXT: return [[v]], [[r]]#2 %0 = tf_mlrt.get_resource {indices = [2]} : !tf_mlrt.tensor %1 = tf_mlrt.get_resource {indices = [0]} : !tf_mlrt.tensor
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 07 23:57:30 UTC 2023 - 3K bytes - Viewed (0) -
src/mdo/java/InputLocation.java
* * @param target the target location * @param source the source location * @param indices the list of integers for the indices * @return the merged location */ public static InputLocation merge(InputLocation target, InputLocation source, Collection<Integer> indices) { if (source == null) { return target;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 07 21:28:01 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java
import java.util.List; import org.codelibs.fess.suggest.settings.AnalyzerSettings; import org.codelibs.fess.suggest.settings.SuggestSettings; import org.opensearch.action.admin.indices.analyze.AnalyzeAction; import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken; import org.opensearch.client.Client; public class AnalyzerNormalizer implements Normalizer { protected final Client client;
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java
public final class ProjectIndex { private final Map<String, MavenProject> projects; private final Map<String, Integer> indices; public ProjectIndex(List<MavenProject> projects) { this.projects = new HashMap<>(projects.size() * 2); this.indices = new HashMap<>(projects.size() * 2); for (int i = 0; i < projects.size(); i++) { MavenProject project = projects.get(i);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2K bytes - Viewed (0) -
tensorflow/cc/gradients/data_flow_grad.cc
std::vector<Output>* grad_outputs) { // Running example: // indices = {2, [1, 0]} // data = {[d_1, d_2], [[d_3, d_4], [d_5, d_6]]} // out = [[d_5, d_6], [d_3, d_4], [d_1, d_2]] // grad = [[g_1, g_2], [g_3, g_4], [g_5, g_6]] // indices and data are two equal-sized lists passed // into DynamicStitch. // num_values = 2
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jul 24 13:40:35 UTC 2021 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java
import java.util.List; import org.codelibs.fess.suggest.settings.AnalyzerSettings; import org.codelibs.fess.suggest.settings.SuggestSettings; import org.opensearch.action.admin.indices.analyze.AnalyzeAction; import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken; import org.opensearch.client.Client; import org.opensearch.core.common.Strings; import com.ibm.icu.text.Transliterator;
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/decompose_resource_op.mlir
// 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> { %0 = "tf.ResourceGather"(%resource, %indices) {batch_dims = 0 : i64, device = "/device:CPU:0", validate_indices = true}: (tensor<*x!tf_type.resource>, tensor<?xi32>) -> (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) -
tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops_mlrt.mlir
// CHECK-NOT: tf.HashTableV2 // CHECK-NOT: tf.LookupTableSizeV2 // CHECK-DAG: [[v0:%.*]] = "tf._TfrtGetResource"() <{container = [""], indices = [[[handle_id]]], shared_name = [{{.*}}]}> {device = "/job:localhost/replica:0/task:0/device:CPU:0"} // CHECK-DAG: [[v1:%.*]] = "tf._TfrtGetResource"() <{container = [""], indices = [[[size_id]]], shared_name = [{{.*}}]}> {device = "/job:localhost/replica:0/task:0/device:CPU:0"}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 2.1K bytes - Viewed (0)