ONE - On-device Neural Engine
Loading...
Searching...
No Matches
driver.cpp File Reference
#include <vconone/vconone.h>
#include <string>
#include <iostream>

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 22 of file driver.cpp.

23{
24 auto str = vconone::get_string();
25 if (argc >= 2)
26 {
27 for (int c = 1; c < argc; ++c)
28 std::cout << argv[c] << " ";
29 std::cout << "version " << str << std::endl;
30 std::cout << vconone::get_copyright() << std::endl;
31 }
32 else
33 std::cout << str;
34
35 return 0;
36}
str
Definition infer.py:18
std::string get_copyright(void)
get_copyright will return copyright string
Definition version.cpp:54
std::string get_string(void)
get_string will return string of major.minor.patch (without build)
Definition version.cpp:44

References vconone::get_copyright(), and vconone::get_string().