27#include "neml2/user_tensors/UserTensorBase.h"
29#include "neml2/tensors/Tensor.h"
IdentityTensor(const OptionSet &options)
Tensor make() const override
Create the tensor given 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
int64_t Size
Definition types.h:71