Skip to content

TensorFlow MRI 0.16.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Apr 08:32
· 173 commits to master since this release
ad9b5dd

Release 0.16.0

Breaking Changes

  • tfmri.convex:

    • Several of the inputs and outputs of admm_minimize have been renamed
      to improve clarity and to make the interface more consistent with the
      tfmri.optimize module.

Major Features and Improvements

  • tfmri.convex:

    • admm_minimize now supports batches of inputs.

    • admm_minimize has two new arguments f_prox_kwargs and
      g_prox_kwargs that allow passing additional arguments to the proximal
      operators of f and g.

    • admm_minimize has a new argument name that allows specifying
      the name of the operation.

    • Method _prox of ConvexFunctionQuadratic has a new argument
      solver_kwargs that allows passing additional arguments to the
      internal solver.

    • New properties shape and batch_shape for ConvexFunction and
      its subclasses. These allow retrieval of static shape information.

    • New methods ndim_tensor, shape_tensor and batch_shape_tensor
      for ConvexFunction and its subclasses. These allow retrieval of the
      dynamic shape information.

  • tfmri.linalg:

    • New argument bypass_gradient for conjugate_gradient.
  • tfmri.recon:

    • lstsq has a new argument return_optimizer_state which allows the
      user to retrieve the internal optimizer state.
  • tfmri.optimize:

    • New function gradient_descent implementing the gradient descent method
      for minimization of differentiable functions.
  • tfmri.plot:

    • New argument dpi for functions image_sequence and
      tiled_image_sequence.
    • New function close, alias of matplotlib.pyplot.close.

Bug Fixes and Other Changes

  • tfmri.convex:

    • Fixed a bug in method prox of ConvexFunctionNorm,
      ConvexFunctionL2Squared and ConvexFunctionQuadratic that caused
      errors when running in graph mode.
  • tfmri.linalg:

    • Fixed a bug in internal linear algebra framework that would cause errors
      when running in graph mode.
  • tfmri.plot:

    • Removed lazy import mechanism which was causing problems when using
      matplotlib outside TFMRI. For now we use regular imports.