- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CanBeRefined (0.08 sec)
-
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)