27#include "neml2/user_tensors/UserTensorBase.h"
49 const std::filesystem::path _torch_script;
52 const std::string _tensor_name;
61 const unsigned int _intmd_dim;
FromTorchScript(const OptionSet &options)
T make() const override
Helper to make the tensor given user input options.
static OptionSet expected_options()
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:52
UserTensorBase(const OptionSet &options)
Definition DiagnosticsInterface.h:31
c10::SmallVector< Size, 8 > TensorShape
Definition types.h:72