In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
import tensorflow as tf | |
from tensorflow.python.ops import init_ops | |
from tensorflow.python.ops import array_ops | |
from tensorflow.python.ops import math_ops | |
from tensorflow.python.ops.rnn_cell_impl import RNNCell, _linear | |
class LRUCell(RNNCell): | |
"""Lattice Recurrent Unit (LRU). | |
This implementation is based on: |