nip.utils

nip.utils#

Various utility functions and classes.

Modules

api

Utilities for dealing with APIs.

apps_metric

bugfix

Replacements for buggy parts of libraries we use.

data

Utilities for working with data.

distributions

PyTorch distributions.

env

Utilities for working with environment variables.

experiments

Experiment runners.

hyper_params

Functions for handling parameters and deriving properties from them.

io

Utilities for input and output.

maths

Utilities for useful mathematical operations.

nested_array_dict

A nested dictionary of strings data structure.

oop

Utilities to work with object-oriented programming (classes and such).

output

Utilities related to outputting things to the user.

runtime_module

Implementation of the runtime modules from PyExt.

string

Utility functions for string manipulation.

tensordict

Utilities for manipulating tensordicts.

timing

Utilities for timing pieces of code.

torch

Handy PyTorch classes and utilities, including modules.

training

Utilities to help with training models.

types

Type definitions for the NIP package.

version

Utilities for dealing with this package's version number.