Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for Franko (0.52 sec)

  1. src/runtime/lockrank_on.go

    //
    //go:systemstack
    func checkRanks(gp *g, prevRank, rank lockRank) {
    	rankOK := false
    	if rank < prevRank {
    		// If rank < prevRank, then we definitely have a rank error
    		rankOK = false
    	} else if rank == lockRankLeafRank {
    		// If new lock is a leaf lock, then the preceding lock can
    		// be anything except another leaf lock.
    		rankOK = prevRank < lockRankLeafRank
    	} else {
    		// We've now verified the total lock ranking, but we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/runtime/mklockrank.go

    	}
    	return lockNames[rank]
    }
    `)
    
    	// Create partial order structure.
    	fmt.Fprintf(w, `
    // lockPartialOrder is the transitive closure of the lock rank graph.
    // An entry for rank X lists all of the ranks that can already be held
    // when rank X is acquired.
    //
    // Lock ranks that allow self-cycles list themselves.
    var lockPartialOrder [][]lockRank = [][]lockRank{
    `)
    	for _, rank := range topo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/runtime/lockrank.go

    }
    
    func (rank lockRank) String() string {
    	if rank == 0 {
    		return "UNKNOWN"
    	}
    	if rank == lockRankLeafRank {
    		return "LEAF"
    	}
    	if rank < 0 || int(rank) >= len(lockNames) {
    		return "BAD RANK"
    	}
    	return lockNames[rank]
    }
    
    // lockPartialOrder is the transitive closure of the lock rank graph.
    // An entry for rank X lists all of the ranks that can already be held
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_internal.h

    namespace tensorflow {
    
    // Set the shapes and types of the output's handle.
    //
    // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must
    // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the
    // rank is known), then it must be equal to the length of `shapes[i]`; if
    // `ranks[i] == 1`, then `shapes[i]` may be nullptr.
    //
    // TODO(akshayka): Implement a corresponding getter method.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

    //
    // $iota = "mhlo.iota"(){iota_dimension = $dimensions[0]},
    //
    // where $dimensions must have size 1 and iota can have rank>=1.
    // It usually used for matching rank 1 iota since the iotaOp will be folded to
    // IotaOp + BroadCastInDimOp except for the case when result shape is rank 1.
    bool MatchSingleIota(DenseIntElementsAttr dimensions, Value iota) {
      auto iota_op = dyn_cast_or_null<mhlo::IotaOp>(iota.getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/test_cluster_ops_by_policy.cc

        if (auto result_constraint = results.GetConstraint(op->getResult(0))) {
          // `test.OpA` converts shape constraint to rank constraint.
          if (is_op_a && *result_constraint == ValueConstraint::kShape)
            operands.Insert(op->getOperand(0), ValueConstraint::kRank);
    
          // `test.OpB` converts value constraint to shape constraint.
          if (*result_constraint == ValueConstraint::kValue)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      auto shape = ranked_ty.getShape();
      int rank = shape.size();
    
      SmallVector<APInt, 4> dimensions;
      dimensions.reserve(rank);
      for (int i = 0; i < rank; ++i)
        dimensions.push_back(APInt(out_width, shape[i]));
    
      auto result_type = tensorflow::GetTypeFromTFTensorShape(
          {rank}, IntegerType::get(input_ty.getContext(), out_width));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc

          current_indices.push_back(i);
          TransposeRecursively(original_values, target_values, current_indices);
          current_indices.pop_back();
        }
      }
    
      int rank_;                             // Rank of the input values.
      SmallVector<int64_t> original_shape_;  // Shape of the original tensor.
      SmallVector<int64_t> target_shape_;    // Shape of the target tensor.
      SmallVector<int64_t> permutation_;
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc

      RankedTensorType tensorType = mlir::cast<RankedTensorType>(value.getType());
      Type element_type = tensorType.getElementType();
    
      int rank = tensorType.getShape().size();
      int num_rows = tensorType.getShape()[rank - 2];
      int num_cols = tensorType.getShape()[rank - 1];
    
      std::vector<Value> sliced;
    
      if (batch_size == 1) {
        // Batch size is 1, no splitting is required
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

      // Operand must have statically known rank.
      kRank = 0,
      // Operand must have statically known shape (all dimensions are known at
      // compile time).
      kShape = 1,
      // Operand must have statically known value (operand must be defined by a
      // constant operation).
      kValue = 2,
    };
    
    // Returns the more restrictive constraint of `a` and `b`:
    //
    //    Value >> Shape >> Rank
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top