ptyrad.utils.dev_tools#
Developer tools for logging, testing, checking sizes and types, etc.
Functions
|
Check if the modes in tensor (Nmodes, []) is orthogonal to each other |
|
Check if a torch.Tensor contains any NaN or Inf values. |
|
print_package_tree prints the package structure with module, class, method, and function definitions for a concise view of the entire package structure |
|
Test run of the constraint_fn |
|
Print loss values for each term for convenient weight tuning |
|