Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for getConstraints (0.17 sec)

  1. src/cmd/go/internal/modindex/build.go

    	if err != nil {
    		return nil, fmt.Errorf("read %s: %v", info.name, err)
    	}
    
    	// Look for +build comments to accept or reject the file.
    	info.goBuildConstraint, info.plusBuildConstraints, info.binaryOnly, err = getConstraints(info.header)
    	if err != nil {
    		return nil, fmt.Errorf("%s: %v", name, err)
    	}
    
    	if ignoreBinaryOnly && info.binaryOnly {
    		info.binaryOnly = false // override info.binaryOnly
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyHandler.java

        /**
         * Returns the dependency constraint handler for this project.
         *
         * @return the dependency constraint handler for this project
         * @since 4.5
         */
        DependencyConstraintHandler getConstraints();
    
        /**
         * Configures dependency constraint for this project.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/test_cluster_ops_by_policy.cc

        bool is_op_a = op->getName().getStringRef() == "test.OpA";
        bool is_op_b = op->getName().getStringRef() == "test.OpB";
        if (!is_op_a && !is_op_b) return failure();
    
        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);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

    }
    
    std::optional<ValueConstraint> ValuesConstraintSet::GetConstraint(
        Value value) const {
      auto it = constraints_.find(value);
      if (it == constraints_.end()) return std::nullopt;
      return it->getSecond();
    }
    
    bool ValuesConstraintSet::HasConstraint(Value value) const {
      return GetConstraint(value).has_value();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

      void Walk(llvm::function_ref<void(Value, ValueConstraint)> walk) const;
    
      // Returns the constraint of the value if it exists, or None otherwise.
      std::optional<ValueConstraint> GetConstraint(Value value) const;
      bool HasConstraint(Value value) const;
    
      // Merges all constrains from the other constraints set into this one.
      void MergeAll(const ValuesConstraintSet& other);
    
    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