Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CanBeRefined (0.1 sec)

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

    // Returns whether type can be further refined.
    bool CanBeRefined(Type type) {
      auto shape_type = mlir::dyn_cast<ShapedType>(type);
      if (!shape_type) return false;
    
      // Returns whether type with subtypes can be further refined.
      auto can_refine_subtypes = [](TF::TensorFlowTypeWithSubtype tws) {
        return tws.GetSubtypes().empty() ||
               llvm::any_of(tws.GetSubtypes(), CanBeRefined);
      };
    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