You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Sdcb.PaddleSeg/SegModel.cs
+24-2Lines changed: 24 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,32 @@
2
2
3
3
namespaceSdcb.PaddleSeg
4
4
{
5
-
publicabstractclassSegModel:BaseModel
5
+
publicabstractclassSegModel
6
6
{
7
+
/// <summary>
8
+
/// Create the paddle config for the model.
9
+
/// </summary>
10
+
/// <returns>The paddle config for model.</returns>
11
+
publicabstractPaddleConfigCreateConfig();
12
+
13
+
/// <summary>
14
+
/// Configure the device related config of the <see cref="PaddleConfig"/>.
15
+
/// </summary>
16
+
/// <param name="configure">The device and configure of the <see cref="PaddleConfig"/>, pass null to using model's <see cref="DefaultDevice"/>.</param>
17
+
/// <param name="config">The PaddleConfig to modify.</param>
0 commit comments