Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Indices (0.38 sec)

  1. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      // CHECK:  %values, %indices = "tfl.topk_v2"(%arg0, %cst) : (tensor<1x4xf32>, tensor<i32>) -> (tensor<1x4xf32>, tensor<1x4xi32>)
      // CHECK:  return %values, %indices : tensor<1x4xf32>, tensor<1x4xi32>
    }
    
    func.func @approx_top_k_with_min_k(%arg0: tensor<1x4xf32>) -> (tensor<1x4xf32>, tensor<1x4xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

                                 .Union();
          }
    
          auto indices = dim_metadata.getIndices();
          std::vector<int> vector_indices(indices.size(), 0);
          int max_of_indices = 0;
          for (int j = 0, end = indices.size(); j < end; j++) {
            vector_indices[j] = indices[j];
            if (vector_indices[j] > max_of_indices) {
              max_of_indices = vector_indices[j];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api.go

    func (err Error) Error() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Msg)
    }
    
    // FullError returns an error string like Error, buy it may contain
    // type-checker internal details such as subscript indices for type
    // parameters and more. Useful for debugging.
    func (err Error) FullError() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Full)
    }
    
    // An ArgumentError holds an error associated with an argument index.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          !axis.getSplatValue<llvm::APInt>().isZero()) {
        return {};
      }
    
      DenseIntElementsAttr indices;
      if (!matchPattern(op.getIndices(), m_Constant(&indices)) ||
          indices.getType().getRank() != 1 || port[1] >= indices.getNumElements()) {
        return {};
      }
    
      int64_t input_idx = indices.getValues<IntegerAttr>()[port[1]].getInt();
      if (input_idx >= params_ty.getDimSize(0)) return {};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // been decomposed and function calls have already been inlined. If `functions`
    // is empty, the pass is applied to the main function by default. The pass also
    // annotates the input arguments for resources with the indices of their
    // aliasing output arguments.
    std::unique_ptr<OperationPass<ModuleOp>> CreatePromoteResourcesToArgsPass(
        llvm::ArrayRef<std::string> functions = {});
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  6. src/go/types/unify.go

    // The result is never nil and has the same length as tparams; result types that
    // could not be inferred are nil. Corresponding type parameters and result types
    // have identical indices.
    func (u *unifier) inferred(tparams []*TypeParam) []Type {
    	list := make([]Type, len(tparams))
    	for i, x := range tparams {
    		list[i] = u.at(x)
    	}
    	return list
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/unify.go

    // The result is never nil and has the same length as tparams; result types that
    // could not be inferred are nil. Corresponding type parameters and result types
    // have identical indices.
    func (u *unifier) inferred(tparams []*TypeParam) []Type {
    	list := make([]Type, len(tparams))
    	for i, x := range tparams {
    		list[i] = u.at(x)
    	}
    	return list
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    	compReadAheadBuffers = 5
    	// Size of each buffer.
    	compReadAheadBufSize = 1 << 20
    	// Pad Encrypted+Compressed files to a multiple of this.
    	compPadEncrypted = 256
    	// Disable compressed file indices below this size
    	compMinIndexSize = 8 << 20
    )
    
    // getkeyeparator - returns the separator to be used for
    // persisting on drive.
    //
    // - ":" is used on non-windows platforms
    // - "_" is used on windows platforms
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

            // For smart-casted expression, refer to the source of the original expression
            // For spread, named, and lambda arguments, the source is the KtValueArgument.
            // For other arguments (including array indices), the source is the KtExpression.
            return when (this) {
                is FirSamConversionExpression ->
                    expression.realPsi as? KtExpression
                is FirSmartCastExpression ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/liveness/plive.go

    }
    
    // getvariables returns the list of on-stack variables that we need to track
    // and a map for looking up indices by *Node.
    func getvariables(fn *ir.Func) ([]*ir.Name, map[*ir.Name]int32) {
    	var vars []*ir.Name
    	for _, n := range fn.Dcl {
    		if shouldTrack(n) {
    			vars = append(vars, n)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top