It renames namespace name for nnpackage_run.
It was snake style. However, I would like to use same naming style of `neurun`.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
#include <cstdlib>
#include <cstdint>
-namespace NNPackageRun
+namespace nnpkg_run
{
class Allocation
{
#include <iostream>
#include <boost/filesystem.hpp>
-namespace NNPackageRun
+namespace nnpkg_run
{
Args::Args(const int argc, char **argv) noexcept
}
}
-} // end of namespace NNPackageRun
+} // end of namespace nnpkg_run
namespace po = boost::program_options;
-namespace NNPackageRun
+namespace nnpkg_run
{
class Args
bool _write_report;
};
-} // end of namespace NNPackageRun
+} // end of namespace nnpkg_run
#endif // __NNPACKAGE_RUN_ARGS_H__
#include <cstdlib>
#include <H5Cpp.h>
-namespace NNPackageRun
+namespace nnpkg_run
{
static const char *h5_value_grpname = "value";
}
};
-} // end of namespace NNPackageRun
+} // end of namespace nnpkg_run
struct nnfw_session;
-namespace NNPackageRun
+namespace nnpkg_run
{
class H5Formatter
{
#include <string>
#include "nnfw.h"
-namespace NNPackageRun
+namespace nnpkg_run
{
uint64_t num_elems(const nnfw_tensorinfo *ti)
{
} \
} while (0)
-namespace NNPackageRun
+namespace nnpkg_run
{
uint64_t num_elems(const nnfw_tensorinfo *ti);
uint64_t bufsize_for(const nnfw_tensorinfo *ti);
#include <boost/filesystem.hpp>
-namespace NNPackageRun
+namespace nnpkg_run
{
template <class T> void randomData(RandomGenerator &randgen, void *data, uint64_t size)
int main(const int argc, char **argv)
{
- using namespace NNPackageRun;
+ using namespace nnpkg_run;
Args args(argc, argv);
auto nnpackage_path = args.getPackageFilename();