File: rules.h.in

package info (click to toggle)
onnxscript 0.2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 12,384 kB
  • sloc: python: 75,957; sh: 41; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

/**
${generated_comment}
 */

namespace torch {
namespace onnx {
namespace diagnostics {

enum class Rule : uint32_t {
${rules}
};

static constexpr const char* const kPyRuleNames [] = {
${py_rule_names}
};

} // namespace diagnostics
} // namespace onnx
} // namespace torch