19#include <torch/csrc/api/include/torch/types.h>
20#include <torch/torch.h>
42 if (!
name_.has_value()) {
43 name_ = c10::demangle(
typeid(*this).name());
46 if (
name_->find(
"struct ") == 0) {
48 }
else if (
name_->find(
"class ") == 0) {
62 mutable at::optional<std::string>
name_;
Full qualified name descriptor.
Definition fqn.hpp:26
virtual void pretty_print(std::ostream &os=Log(log::info)) const noexcept=0
Returns a string representation.
virtual const std::string & name() const noexcept
Returns the full qualified name of the object.
Definition fqn.hpp:31
at::optional< std::string > name_
String storing the full qualified name of the object.
Definition fqn.hpp:62
Definition boundary.hpp:22
constexpr bool is_SplineType_v
Alias to the value of is_SplineType.
Definition bspline.hpp:3243
struct iganet::@0 Log
Logger.