mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
On Windows, clang-format has a bug when AlignTrailingComments.Kind is set to `Leave` (https://clang.llvm.org/docs/ClangFormatStyleOptions.html#aligntrailingcomments), where it will keep adding indentation to comments after each formatting runs. This PR changes to always align comments so we do not hit the bug. As a consequence of the options change we need to reformat some of the files. Note that this option is aligned with the rest of the repository.
16 lines
532 B
C++
16 lines
532 B
C++
#pragma once
|
|
|
|
#include "LearningModelOperatorSet.g.h"
|
|
|
|
namespace WINML_EXPERIMENTALP {
|
|
|
|
struct LearningModelOperatorSet : LearningModelOperatorSetT<LearningModelOperatorSet> {
|
|
LearningModelOperatorSet(winml_experimental::LearningModelBuilder builder);
|
|
|
|
winml_experimental::LearningModelBuilder Add(winml_experimental::LearningModelOperator const& op);
|
|
|
|
private:
|
|
winml_experimental::LearningModelBuilder builder_;
|
|
wfc::IVector<winml_experimental::LearningModelOperator> operators_;
|
|
};
|
|
} // namespace WINML_EXPERIMENTALP
|