Update sampler_explaination.md
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
(I recommand to have the code on the side to follow)
|
||||
|
||||
---
|
||||
|
||||
The function _matrix\_batch\_slerp_ implements batched spherical linear interpolation (SLERP). SLERP is a technique used to interpolate between two points on a unit sphere along the great circle that connects them, maintaining a constant angular velocity. This is particularly useful for interpolating rotations or, more generally, directions in high-dimensional spaces.
|
||||
|
||||
@@ -57,6 +58,8 @@ This function essentially performs a smooth, spherical interpolation between mul
|
||||
|
||||
The exclusion of self-pairs in the dot product calculation indicates that the function is designed to aggregate or combine information from distinct entities within the batch.
|
||||
|
||||
---
|
||||
|
||||
The fast\_distance\_weights function calculates weights for a batch of tensors based on their pairwise distances in a normalized space.
|
||||
|
||||
It takes the input tensor t, boolean flags use\_softmax and use\_slerp, and an optional unconditional tensor uncond as arguments.
|
||||
|
||||
Reference in New Issue
Block a user