Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit 509f3a5

Browse files
committed
Add optional RequiredMemory field
1 parent a5c6a7c commit 509f3a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

OnnxStack.Core/Config/OnnxModelConfig.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@ public record OnnxModelConfig
2121

2222
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
2323
public ExecutionProvider? ExecutionProvider { get; set; }
24+
25+
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
26+
public int RequiredMemory { get; set; }
2427
}
2528
}

0 commit comments

Comments
 (0)