class_docstr: Layer which put asserts on shapes of tensors, and returns them unchanged.
  
  It borrows the notation from assert_shape decorator, except it doesn't have
  the arrow '->' special character, as the input tensors are the same as output.
class_docstr_tok: ["Layer","which","put","asserts","on","shapes","of","tensors",",","and","returns","them","unchanged",".","It","borrows","the","notation","from","assert_shape","decorator",",","except","it","does","n't","have","the","arrow","'-",">","'","special","character",",","as","the","input","tensors","are","the","same","as","output","."]
docstr: Internal. Used to create a shared dictionary.
docstr_tok: ["Internal",".","Used","to","create","a","shared","dictionary","."]
code: def _create_link(self, other):
      """Internal. Used to create a shared dictionary."""
      # This works well for assert_shape and AssertFunction; but it can break
      # easily if the order of calls to forward() is not known in advance.
      self._linked = True
      self._defined_shapes = other._defined_shapes
  
file_path: trax/trax/layers/assert_shape.py
imports: import functools
  import inspect
  import string
  from absl import logging
  from trax.layers import base
  from trax.layers import combinators
label_desc: Use image node_id 3 for calling the AssertShape obj's underlying member method code with example usage: obj._create_link(other) without return types