Skip to main content

omnibias.torch

0.5.0rc1Release candidatePython >=3.10Apache-2.0

PyTorch activation derivatives, trainable operator layers, network jets, and direct differential-operator contractions.

import omnibias.torch

Choose this backend for torch.Tensor workflows and torch.nn.Module training loops. The forward spatial-derivative paths can participate in ordinary parameter backpropagation, so a PDE residual can train the weights that produced it. Shape and architecture restrictions belong to the particular jet or contraction API.

Use activation fast paths for elementwise activation derivatives, directional jets for derivatives along an input direction, multivariate jets for mixed partials, and direct contractions when you only need an operator such as a Laplacian. These compute different objects and have different costs. A direct Laplacian avoids materializing a dense Hessian on supported paths; it is not a promise of dimension-independent work.

The current default is a release candidate. Start in float64 when validating high-order numerical identities, retain the model's intended device and dtype, and assert both output shape and finite parameter gradients. The high-order residual and deep-Laplacian learning paths provide complete executable examples.

Module contract & mathematical conventions

PyTorch activation derivatives and Taylor jets for physics-informed models.

Shared polynomial coefficients define the derivative tower. Operator blocks, mixed jets, and PINN architectures reuse it without nested coordinate autodiff. Architecture and optimization helpers are available in their own modules.

Shared formulas do not imply universal floating-point identity. Verify dtype, shape, derivative-order support, and the stated numerical assumptions for the path you use.

Imports & aliases​

These names share a definition with another public module. Follow a name for its full contract, parameters, and examples.

Import from this moduleCanonical reference
ActivationSpecomnibias.core.ActivationSpec
AdaptivePackBankomnibias.torch.AdaptivePackBank
AnalyticGaussianConv1domnibias.torch.AnalyticGaussianConv1d
AnalyticGaussianConv2domnibias.torch.AnalyticGaussianConv2d
BankSpecomnibias.core.BankSpec
BiasScanomnibias.torch.BiasScan
BirkhoffOMBUomnibias.torch.BirkhoffOMBU
BlockSpecomnibias.core.BlockSpec
DEQConfigomnibias.core.DEQConfig
DEQNotContractiveomnibias.core.DEQNotContractive
DEQResultomnibias.torch.DEQResult
DEQSolverUnknownomnibias.core.DEQSolverUnknown
EquivariantScanomnibias.torch.EquivariantScan
GradientSecantomnibias.core.GradientSecant
GrowStrategyomnibias.torch.GrowStrategy
GrowableOMBUomnibias.torch.GrowableOMBU
GrowableOperatorMultiBiasUnitomnibias.torch.GrowableOMBU
JetLineSearchConfigomnibias.core.JetLineSearchConfig
LearnablePReLUomnibias.torch.LearnablePReLU
LineSearchResultomnibias.core.LineSearchResult
MultiPackUnitomnibias.torch.BirkhoffOMBU
OMBUomnibias.torch.OMBU
OperatorBlockomnibias.torch.OperatorBlock
OperatorMultiBiasUnitomnibias.torch.OMBU
TemperedActivationomnibias.torch.TemperedActivation
WeightLossJetSpecomnibias.core.WeightLossJetSpec
affine_jetomnibias.torch.affine_jet
affine_jet_mvomnibias.torch.affine_jet_mv
analytic_gaussian_tapsomnibias.torch.analytic_gaussian_taps
antiderivative_jetomnibias.torch.antiderivative_jet
arrangement_w_blockomnibias.core.arrangement_w_block
block_directionomnibias.torch.block_direction
block_exact_searchomnibias.torch.block_exact_search
block_exact_sweepomnibias.torch.block_exact_sweep
cmbConv1domnibias.torch.cmbConv1d
cmbConv2domnibias.torch.cmbConv2d
cmbLinearomnibias.torch.cmbLinear
compose_jetomnibias.torch.compose_jet
compose_jet_mvomnibias.torch.compose_jet_mv
compose_jet_riccatiomnibias.torch.compose_jet_riccati
deq_du_dWomnibias.torch.deq_du_dW
deq_solveomnibias.torch.deq_solve
deq_vjpomnibias.torch.deq_vjp
derivative_jetomnibias.torch.derivative_jet
get_activationomnibias.torch.get_activation
grow_ombuomnibias.torch.grow_ombu
identity_jetomnibias.torch.identity_jet
is_registeredomnibias.torch.is_registered
jet_attentionomnibias.torch.jet_attention
jet_expomnibias.torch.jet_exp
jet_gradientomnibias.torch.jet_gradient
jet_hessianomnibias.torch.jet_hessian
jet_line_searchomnibias.torch.jet_line_search
jet_line_search_on_rayomnibias.torch.jet_line_search_on_ray
jet_multiplyomnibias.torch.jet_multiply
jet_partialsomnibias.torch.jet_partials
jet_reciprocalomnibias.torch.jet_reciprocal
jet_softmaxomnibias.torch.jet_softmax
jet_to_toweromnibias.torch.jet_to_tower
last_linear_blockomnibias.core.last_linear_block
layer_jetomnibias.torch.layer_jet
layer_jet_mvomnibias.torch.layer_jet_mv
lhopital_ratioomnibias.torch.lhopital_ratio
limit_of_ratioomnibias.torch.limit_of_ratio
list_activationsomnibias.torch.list_activations
mlp_jetomnibias.torch.mlp_jet
mlp_jet_mvomnibias.torch.mlp_jet_mv
multipack_responseomnibias.torch.multipack_response
ombu_bias_blockomnibias.core.ombu_bias_block
one_layer_lossomnibias.torch.one_layer_loss
one_layer_loss_gradomnibias.torch.one_layer_loss_grad
one_layer_loss_hessianomnibias.torch.one_layer_loss_hessian
one_layer_loss_jetomnibias.torch.one_layer_loss_jet
one_layer_newton_directionomnibias.torch.one_layer_newton_direction
register_activationomnibias.torch.register_activation
removable_valueomnibias.torch.removable_value
scan_responseomnibias.torch.scan_response
soft_argmax_offsetomnibias.torch.soft_argmax_offset
steerable_basisomnibias.torch.steerable_basis
tower_to_jetomnibias.torch.tower_to_jet