Package jdistlib.inference
Interface BatchedDifferentiableLogDensity
- All Superinterfaces:
DifferentiableLogDensity,LogDensity
- All Known Implementing Classes:
AcceleratedLogisticRegression
Optional accelerator-facing contract for evaluating independent states in one call.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidlogDensityAndGradientBatch(double[][] states, double[] logDensities, double[][] gradients) Replaces every output row; implementations may execute the batch concurrently.Methods inherited from interface jdistlib.inference.DifferentiableLogDensity
logDensity, logDensityAndGradient
-
Method Details
-
logDensityAndGradientBatch
default void logDensityAndGradientBatch(double[][] states, double[] logDensities, double[][] gradients) Replaces every output row; implementations may execute the batch concurrently.
-