|
Enzyme main
|
Functions | |
| int64_t | getUnconstrainedSize (int64_t constrainedSize, impulse::SupportKind kind) |
| Get the unconstrained size given a constrained size and support kind. | |
| int64_t | getConstrainedSize (int64_t unconstrainedSize, impulse::SupportKind kind) |
| Get the constrained size given an unconstrained size and support kind. | |
| Value | unconstrain (OpBuilder &builder, Location loc, Value constrained, impulse::SupportAttr support) |
| Transform from constrained to unconstrained space. | |
| Value | constrain (OpBuilder &builder, Location loc, Value unconstrained, impulse::SupportAttr support) |
| Transform from unconstrained to constrained space. | |
| Value | logAbsDetJacobian (OpBuilder &builder, Location loc, Value unconstrained, impulse::SupportAttr support) |
| Compute log |det J| of the transform from unconstrained to constrained. | |
| Value | createLogit (OpBuilder &builder, Location loc, Value x) |
| Value | createLogSigmoid (OpBuilder &builder, Location loc, Value x) |
| Value mlir::enzyme::transforms::constrain | ( | OpBuilder & | builder, |
| Location | loc, | ||
| Value | unconstrained, | ||
| impulse::SupportAttr | support ) |
Transform from unconstrained to constrained space.
Definition at line 146 of file TransformUtils.cpp.
Referenced by mlir::impulse::constrainPosition().
| Value mlir::enzyme::transforms::createLogit | ( | OpBuilder & | builder, |
| Location | loc, | ||
| Value | x ) |
Definition at line 23 of file TransformUtils.cpp.
Referenced by unconstrain().
| Value mlir::enzyme::transforms::createLogSigmoid | ( | OpBuilder & | builder, |
| Location | loc, | ||
| Value | x ) |
Definition at line 36 of file TransformUtils.cpp.
Referenced by logAbsDetJacobian().
| int64_t mlir::enzyme::transforms::getConstrainedSize | ( | int64_t | unconstrainedSize, |
| impulse::SupportKind | kind ) |
Get the constrained size given an unconstrained size and support kind.
Definition at line 64 of file TransformUtils.cpp.
| int64_t mlir::enzyme::transforms::getUnconstrainedSize | ( | int64_t | constrainedSize, |
| impulse::SupportKind | kind ) |
Get the unconstrained size given a constrained size and support kind.
Definition at line 50 of file TransformUtils.cpp.
| Value mlir::enzyme::transforms::logAbsDetJacobian | ( | OpBuilder & | builder, |
| Location | loc, | ||
| Value | unconstrained, | ||
| impulse::SupportAttr | support ) |
Compute log |det J| of the transform from unconstrained to constrained.
Definition at line 218 of file TransformUtils.cpp.
References createLogSigmoid().
Referenced by mlir::impulse::computeTotalJacobianCorrection().
| Value mlir::enzyme::transforms::unconstrain | ( | OpBuilder & | builder, |
| Location | loc, | ||
| Value | constrained, | ||
| impulse::SupportAttr | support ) |
Transform from constrained to unconstrained space.
Definition at line 78 of file TransformUtils.cpp.
References createLogit().
Referenced by mlir::impulse::unconstrainPosition().