|
NewLang Project
Yet another programm language
|
#include <filesystem>#include <stdbool.h>#include "warning_push.h"#include <torch/torch.h>#include <ATen/ATen.h>#include "warning_pop.h"#include "context.h"#include "term.h"#include "macro.h"#include "runtime.h"#include "module.h"#include "types.h"#include "analysis.h"
Go to the source code of this file.
Functions | |
| ObjType | getSummaryTensorType (Obj *obj, ObjType start=ObjType::None) |
Definition at line 546 of file object.cpp.
References newlang::Obj::at(), getSummaryTensorType(), newlang::Obj::is_arithmetic_type(), newlang::Obj::is_dictionary_type(), newlang::Obj::is_range(), newlang::isGenericType(), LOG_RUNTIME, newlang::Obj::m_var_type_current, newlang::Obj::m_var_type_fixed, newlang::Rational, result, newlang::Obj::size(), and newlang::Obj::toString().
Referenced by newlang::Context::Call(), newlang::Context::CreateTensor(), getSummaryTensorType(), newlang::Obj::IteratorReset(), and newlang::Obj::toType_().