class_docstr: Reversible Layer.
class_docstr_tok: ["Reversible","Layer","."]
docstr: Reverse this layer: compute input given output.
docstr_tok: ["Reverse","this","layer",":","compute","input","given","output","."]
code: def reverse(
      self, output, weights=(), state=(), new_state=(), rng=None
  ):
      """Reverse this layer: compute input given output."""
      raise NotImplementedError
  
imports: from absl import logging
  import jax
  from trax import fastmath
  from trax.layers import base
  from trax.layers import combinators
label_desc: Use image node_id 1 for calling the ReversibleLayer obj's underlying member method code with example usage: obj.reverse(output, weights, state, new_state, rng) without return types