Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,871 for indices (0.15 sec)

  1. test/fixedbugs/issue4813.go

    // errorcheck
    
    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 4813: use of constant floats as indices.
    
    package main
    
    var A [3]int
    var S []int
    var T string
    
    const (
    	i  = 1
    	f  = 2.0
    	f2 = 2.1
    	c  = complex(2, 0)
    	c2 = complex(2, 1)
    )
    
    var (
    	vf = f
    	vc = c
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 13 01:18:12 UTC 2013
    - 1.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        }
      }
    
      return indices;
    }
    
    // Given a list of tensor indices, returns true if any of the tensors have
    // non-empty name strings.
    bool HasNonEmptyNames(const tflite::SubGraphT& subgraph,
                          ArrayRef<int32_t> indices) {
      return llvm::any_of(
          indices, [&](int i) { return !subgraph.tensors.at(i)->name.empty(); });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      %indices = "tf.Const"() {value = dense<[1, 2]> : tensor<2xi32>} : () -> tensor<2xi32>
      %values = "tf.Const"() {value = dense<[[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]> : tensor<2x3xf32>} : () -> tensor<2x3xf32>
      %write = "tf.TensorArrayScatterV3"(%ta#0, %indices, %values, %ta#1) : (tensor<!tf_type.resource>, tensor<2xi32>, tensor<2x3xf32>, tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

        // final_op = "Div"
        llvm::SmallVector<int64_t> indices(group_size.getInt());
        std::iota(indices.begin(), indices.end(), 0);
    
        auto replica_groups = mlir::DenseIntElementsAttr::get(
            mlir::RankedTensorType::get({1, group_size.getInt()},
                                        rewriter.getI64Type()),
            indices);
    
        {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

          op->setAttr(attr.getName(),
                      FlatSymbolRefAttr::get(op->getContext(), cloned.getName()));
          break;
        }
      }
    
      // Traverse results backward so that indices to be deleted stay unchanged.
      for (OpResult result : llvm::reverse(op->getResults())) {
        if (!result.use_empty()) continue;
        int result_idx = result.getResultNumber();
        for (func::FuncOp func : cloned_branches)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h

    #include <vector>
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    
    namespace mlir {
    namespace TFL {
    
    // Check if the given op has stateful operands and return their stateful
    // operand indices.
    bool IsStatefulOp(Operation* op, std::vector<int>* stateful_operand_indices);
    
    }  // namespace TFL
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                doIndexCreate = true;
                doCreate = true;
            }
    
            if (doCreate) {
                if (doIndexCreate) {
                    try {
                        client.admin().indices().prepareCreate(settingsIndexName).setSettings(loadIndexSettings(), XContentType.JSON).execute()
                                .actionGet(getIndicesTimeout());
                    } catch (final IOException e) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/cmd/internal/goobj/builtin.go

    // license that can be found in the LICENSE file.
    
    package goobj
    
    import "internal/buildcfg"
    
    // Builtin (compiler-generated) function references appear
    // frequently. We assign special indices for them, so they
    // don't need to be referenced by name.
    
    // NBuiltin returns the number of listed builtin
    // symbols.
    func NBuiltin() int {
    	return len(builtins)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 22 13:50:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/printers/jsonpath.go

    // arguments.  Thus "index x 1 2 3" is, in Go syntax, x[1][2][3]. Each
    // indexed item must be a map, slice, or array.
    func exists(item interface{}, indices ...interface{}) bool {
    	v := reflect.ValueOf(item)
    	for _, i := range indices {
    		index := reflect.ValueOf(i)
    		var isNil bool
    		if v, isNil = indirect(v); isNil {
    			return false
    		}
    		switch v.Kind() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. tensorflow/cc/gradients/grad_helper.h

    namespace tensorflow {
    
    // Helper function for reduction ops.
    //
    // input_shape: 1-D Tensor, the shape of the Tensor being reduced.
    // axes: 1-D Tensor, the reduction axes.
    //   Note that the reduction indices are in the range
    //   -rank(input_shape), rank(input_shape)
    // returns a 1-D Tensor, the output shape as if keep_dims were set to True.
    Output ReducedShapeHelper(const Scope& scope, const Output& input_shape,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top