source sync

PiperOrigin-RevId: 222452709
This commit is contained in:
Peter Hawkins 2018-11-21 13:27:26 -08:00 committed by Roy Frostig
parent e180f08113
commit 5e60639bc5
17 changed files with 40 additions and 0 deletions

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as onp
import six

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .core import JaxTuple, lattice_join
from .interpreters.partial_eval import Primitive

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import itertools

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .core import pack
from .tree_util import build_tree, process_pytree

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from operator import attrgetter
from contextlib import contextmanager

View File

@ -13,7 +13,9 @@
# limitations under the License.
"""A linear algebra library for use with JAX."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as onp

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from . import partial_eval as pe
from . import xla

View File

@ -12,6 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from collections import namedtuple
import itertools as it

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import itertools as it
from collections import namedtuple, Counter, defaultdict

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from collections import namedtuple
import itertools as it

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .util import curry, partial

View File

@ -12,6 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from six.moves import reduce

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import functools
import re

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from collections import namedtuple
import itertools as it

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import functools
import itertools as it

View File

@ -13,6 +13,8 @@
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as onp
from absl.testing import absltest

View File

@ -12,6 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import collections
from functools import partial
import itertools