@@ -313,7 +313,7 @@ def _calculate_spline(self, target, spline_params, inverse=False):
313313 target : tf.Tensor of shape (batch_size, ..., dim_2)
314314 The target partition of the input vector to transform.
315315 spline_params : tuple(tf.Tensor,...)
316- A tuple with tensors corresponding to the learnbale spline features:
316+ A tuple with tensors corresponding to the learnable spline features:
317317 (left_edge, bottom_edge, widths, heights, derivatives)
318318 inverse : bool, optional, default: False
319319 Flag indicating whether to run the block forward or backward.
@@ -516,7 +516,7 @@ def __init__(
516516 for the required entries.
517517 coupling_design : str or callable, optional, default: 'affine'
518518 The type of internal coupling network to use. Must be in ['affine', 'spline'].
519- In general, spline couplings run slower than affine couplings, but require fewers coupling
519+ In general, spline couplings run slower than affine couplings, but requires fewer coupling
520520 layers. Spline couplings may work best with complex (e.g., multimodal) low-dimensional
521521 problems. The difference will become less and less pronounced as we move to higher dimensions.
522522 permutation : str or None, optional, default: 'fixed'
@@ -581,15 +581,15 @@ def __init__(
581581 self .act_norm = None
582582
583583 def call (self , target_or_z , condition , inverse = False , ** kwargs ):
584- """Performs one pass through a the affine coupling layer (either inverse or forward).
584+ """Performs one pass through the affine coupling layer (either inverse or forward).
585585
586586 Parameters
587587 ----------
588588 target_or_z : tf.Tensor
589- The estimation quantites of interest or latent representations z ~ p(z), shape (batch_size, ...)
589+ The estimation quantities of interest or latent representations z ~ p(z), shape (batch_size, ...)
590590 condition : tf.Tensor or None
591591 The conditioning data of interest, for instance, x = summary_fun(x), shape (batch_size, ...).
592- If `condition is None`, then the layer recuces to an unconditional ACL.
592+ If `condition is None`, then the layer reduces to an unconditional ACL.
593593 inverse : bool, optional, default: False
594594 Flag indicating whether to run the block forward or backward.
595595
0 commit comments