Go to the source code of this file.
Namespaces | |
| namespace | Moose |
| MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to address this in their environment if C++17 compatibility isn't found. | |
Functions | |
| at::Generator | Moose::makeLibtorchCPUGenerator () |
| Create an owned CPU generator using libtorch's default seed behavior. | |
| at::Generator | Moose::makeLibtorchCPUGenerator (uint64_t seed) |
| Create an owned CPU generator with an explicit seed. | |
| void | Moose::orthogonalInitializeTensor (torch::Tensor &tensor, Real gain=1.0, c10::optional< at::Generator > generator=c10::nullopt) |
| Fill a tensor with a (semi) orthogonal matrix using the provided generator. | |