NewLang Project
Yet another programm language
|
#include <sys/sysinfo.h>
#include <sys/time.h>
#include "warning_push.h"
#include <torch/torch.h>
#include <ATen/ATen.h>
#include "warning_pop.h"
#include <fmt/core.h>
#include "system.h"
#include "runtime.h"
Go to the source code of this file.
Macros | |
#define | ARG_TEST_COUNT(cnt) |
Functions | |
ObjType | getSummaryTensorType (Obj *obj, ObjType start) |
ObjPtr | CreateTensor (torch::Tensor tensor) |
Variables | |
char ** | environ |
#define ARG_TEST_COUNT | ( | cnt | ) |
Definition at line 192 of file system.cpp.
Referenced by newlang::runtime::System::getenv(), and newlang::runtime::System::system().
Definition at line 546 of file object.cpp.
ObjPtr CreateTensor | ( | torch::Tensor | tensor | ) |
Definition at line 52 of file object.cpp.
References ASSERT, newlang::Obj::CreateType(), newlang::Obj::CreateValue(), GetTensorType(), newlang::isTensor(), LOG_RUNTIME, and result.
Referenced by newlang::Obj::at(), newlang::Obj::at(), ConvertTensorToDict(), newlang::runtime::System::getsysinfo(), and newlang::Obj::index_get().
char** environ |
Definition at line 285 of file system.cpp.
Referenced by newlang::runtime::System::getenviron().