A simple class representing the version of the backing library, to workaround the "too perfect forwarding" issue in gcc6+ compilers. See PR#16309 and issue #18402 for links discussing the issue.
| 1090 | // workaround the "too perfect forwarding" issue in gcc6+ compilers. |
| 1091 | // See PR#16309 and issue #18402 for links discussing the issue. |
| 1092 | class VersionInfo { |
| 1093 | public: |
| 1094 | VersionInfo(int major = 0, int minor = 0, int patch = 0) |
| 1095 | : major_(major), minor_(minor), patch_(patch) {} |
| 1096 | int major_version() const { return major_; } |
| 1097 | int minor_version() const { return minor_; } |
| 1098 | int patch() const { return patch_; } |
| 1099 | |
| 1100 | private: |
| 1101 | int major_; |
| 1102 | int minor_; |
| 1103 | int patch_; |
| 1104 | }; |
| 1105 | |
| 1106 | // Suite of operations typically used for implementing Deep/Convolutional Neural |
| 1107 | // Nets. Note: A false return value of an operation indicates the |
no outgoing calls
no test coverage detected