Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValueConstraint (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

    namespace TFDevice {
    
    // -------------------------------------------------------------------------- //
    // ValueConstraint.
    // -------------------------------------------------------------------------- //
    
    ValueConstraint Merge(ValueConstraint a, ValueConstraint b) {
      return a > b ? a : b;
    }
    
    LogicalResult IsStaticallyResolved(Value value, ValueConstraint constraint) {
      // Resolve constraints inferred from the tensor type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    // the shape, you always know the rank.
    ValueConstraint Merge(ValueConstraint a, ValueConstraint b);
    
    // Returns success if constraint can be resolved statically based on the value
    // type, e.g. `shape` constraint can be resolved if the value is a tensor of
    // statically known shape.
    LogicalResult IsStaticallyResolved(Value value, ValueConstraint constraint);
    
    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