Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 87 for Indices (0.22 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

    }
    
    // CHECK-LABEL: func @tensor_array_while_test
    // CHECK-SAME: ([[in_chain:%.*]]: !tfrt.chain
    func.func @tensor_array_while_test(%indices: tensor<?xi32>, %input_0: tensor<?x?x?xf32>, %input_1: tensor<?x?x?xf32>) -> (tensor<?x?x512xf32>, tensor<?x?x512xf32>) {
      %index = "tf.Const"() {device = "/device:CPU:0", value = dense<0> : tensor<i32>} : () -> (tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let summary = "get a tensor in resource array";
    
      let description = [{
        Get a tensor in resource array.
    
        indices: the indices in the resource array.
        results: the tensor values for the corresponding indices.
      }];
    
      let arguments = (ins
        I64ArrayAttr:$indices
      );
    
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. src/go/types/typexpr.go

    				// best position for error reporting
    				pos := ix.Pos()
    				if i < len(ix.Indices) {
    					pos = ix.Indices[i].Pos()
    				}
    				check.softErrorf(atPos(pos), InvalidTypeArg, "%v", err)
    			} else {
    				check.mono.recordInstance(check.pkg, ix.Pos(), inst.TypeParams().list(), inst.TypeArgs().list(), ix.Indices)
    			}
    		}
    
    		// TODO(rfindley): remove this call: we don't need to call validType here,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

                List<Integer> indices = new ArrayList<>();
                List<String> tgt = target.getModules();
                Set<String> excludes = new LinkedHashSet<>(tgt);
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
                merged.addAll(tgt);
                for (int i = 0, n = tgt.size(); i < n; i++) {
                    indices.add(i);
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

        llvm::StringMap<PartitionedCallDecompositionInfo>*);
    
    // Adds the corresponding sizes of tensor list buffers in block's terminator
    // to the list of return values. Returns the mapping from the buffer
    // indices to the added size indices, which is a list of tuples
    // (buffer_return_index, size_return_index, fixed_size).
    template <class TerminatorOp>
    llvm::SmallVector<std::tuple<int64_t, int64_t, bool>, 8>
    AddTensorListSizesToTerminator(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    //===----------------------------------------------------------------------===//
    
    // Here, $params and $indices needs to be ranked so that $axis and $batch_dims
    // attributes can be converted from TensorFlow axis format supporting negative
    // indexing to the HLO format.
    def LegalizeGatherV2 :
      Pat<(TF_GatherV2Op AnyRankedTensor:$params, AnyRankedTensor:$indices,
            (ConstantLikeMatcher ElementsAttr:$axis), $batch_dims),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      //     to segment the indices array, each segment corresponds to one element
      //     in the previous dimension. array_indices represents the index of the
      //     non-zero elements within this dimension (as those in the CSR matrix
      //     format, where the first array is row pointers and the second array is
      //     column indices).
      dense_size:int;
      array_segments:SparseIndexVector;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

              clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED",
                         "Uses TF Uniform Quantized ops"))};
    };
    
    // Check if given indices in `val1` has same number of elements as given
    // indices in `val2`.
    bool HasEqualElementSize(Value val1, Value val2, ArrayRef<int> val1_indices,
                             ArrayRef<int> val2_indices) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    	if len(indices) == 0 {
    		return errInvalidArgument
    	}
    
    	if z.SinglePool() {
    		return errInvalidArgument
    	}
    
    	// Make pool unwritable before decommissioning.
    	if err := z.StartDecommission(ctx, indices...); err != nil {
    		return err
    	}
    
    	go func() {
    		for _, idx := range indices {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 14:30:43 UTC 2024
    - 41.5K bytes
    - Viewed (1)
  10. tensorflow/compiler/mlir/lite/schema/schema.fbs

      //     to segment the indices array, each segment corresponds to one element
      //     in the previous dimension. array_indices represents the index of the
      //     non-zero elements within this dimension (as those in the CSR matrix
      //     format, where the first array is row pointers and the second array is
      //     column indices).
      dense_size:int;
      array_segments:SparseIndexVector;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top