onnxruntime/csharp/.clang-format
Scott McKay ad90352a68
Add MAUI test app that can be used to test model loading and performance (#16658)
### Description
<!-- Describe your changes. -->
MAUI test app with tooling to add model and generated or provided input
test data.

The app will load the model and validate the output. It can also run a
specified number of iterations to provide basic performance information.

<img width="401" alt="image"
src="https://github.com/microsoft/onnxruntime/assets/979079/daf3af13-fb22-4cbb-9159-486b483a7485">

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Primarily to make it easier to test an arbitrary model on iOS. A MAUI
app allows testing on all platforms.

---------

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2023-07-18 08:21:18 +10:00

22 lines
670 B
YAML

---
# clang-format settings for the C# code
BasedOnStyle: Microsoft
# Setting ColumnLimit to 0 so developer choices about where to break lines are maintained.
# Developers are responsible for adhering to the 120 character maximum.
ColumnLimit: 0
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
BeforeWhile: true
SplitEmptyFunction: false
SplitEmptyRecord: false
# unfortunately there's no config option for handling the 'get' or 'set' of properties
IndentCaseLabels: true
KeepEmptyLinesAtTheStartOfBlocks: false
NamespaceIndentation: All
SpacesInContainerLiterals: false
SortIncludes: CaseSensitive
SortUsingDeclarations: LexicographicNumeric