27#include "neml2/user_tensors/UserTensorBase.h"
29#include "neml2/tensors/Tensor.h"
Create an identity Tensor from the input file.
Definition IdentityTensor.h:37
IdentityTensor(const OptionSet &options)
Definition IdentityTensor.cxx:47
Tensor make() const override
Create the tensor given input options.
Definition IdentityTensor.cxx:55
static OptionSet expected_options()
Definition IdentityTensor.cxx:32
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:51
Definition UserTensorBase.h:41
Definition DiagnosticsInterface.cxx:30
c10::SmallVector< Size, 8 > TensorShape
Definition types.h:66
int64_t Size
Definition types.h:65