cascade.nn
Neural network utilities
Functions
Copy tensor device, dtype and data from a source tensor to a target tensor in place |
|
Straight-through Gumbel sigmoid sampler |
|
Compute the mean squared error along a specified dimension |
|
RBF kernel with support for multiplex dims |
|
Compute matrix trace with support for multiplex dims |
Classes
Prior that enforces acyclicity constraint |
|
Attention-based pooling layer to combine multiple intervention embeddings |
|
Bilinearly parameterized edge logits |
|
Edgewise parameterized edge logits |
|
Intervention latent module encoding from fixed embeddings |
|
Structural equation with covariates |
|
Intervention latent module encoding from a graph |
|
Intervention design module |
|
Abstract class for kernels |
|
Kronecker delta kernel |
|
L1 penalized log prior probability |
|
Interventional latent module |
|
Abstract class for causal distributions |
|
Log-determinant penalized log prior probability |
|
Abstract module class supporting parameter freezing, decayed / non-decayed parameter iteration, and cached property clearing |
|
A module list with the |
|
Linear layer with support for multi-dims |
|
Negative binomial causal distribution |
|
Nil interventional latent module that always outputs the standard normal |
|
Normal causal distribution |
|
Compute unnormalized negative log prior probability of a scaffold graph |
|
Radial basis function kernel |
|
Abstract graph scaffold |
|
Scale-free penalized log prior probability |
|
Prior that encourages sparsity |
|
Spectral norm penalized log prior probability |
|
Tr-Exp penalized log prior probability |