Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CanWhileTypeBeRefinedWith (0.16 sec)

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

    }
    
    // Checks if one tensor type can refine another type for tf.While/
    // tf.WhileRegion. If rank differs or static dimensions can be lost, the other
    // type cannot be used for refinement.
    bool CanWhileTypeBeRefinedWith(TensorType current_type,
                                   TensorType potential_refined_type) {
      if (!current_type.hasRank()) return true;
      if (!potential_refined_type.hasRank()) return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top