mirror of
https://github.com/ROCm/jax.git
synced 2025-04-18 21:06:06 +00:00
74 lines
1.6 KiB
Python
74 lines
1.6 KiB
Python
# Copyright 2018 Google LLC
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# JAX is Autograd and XLA
|
|
|
|
licenses(["notice"])
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
# top-level EF placeholder
|
|
|
|
py_library(
|
|
name = "jax",
|
|
srcs = glob(
|
|
[
|
|
"*.py",
|
|
"lib/*.py",
|
|
"interpreters/*.py",
|
|
"lax/*.py",
|
|
"numpy/*.py",
|
|
"ops/*.py",
|
|
"scipy/*.py",
|
|
"scipy/stats/*.py",
|
|
"nn/*.py",
|
|
],
|
|
exclude = [
|
|
"*_test.py",
|
|
"**/*_test.py",
|
|
],
|
|
),
|
|
deps = ["@org_tensorflow//tensorflow/compiler/xla/python:xla_client"],
|
|
)
|
|
|
|
# Old name for library, use ":jax" instead.
|
|
py_library(
|
|
name = "libjax",
|
|
deps = [":jax"],
|
|
)
|
|
|
|
py_library(
|
|
name = "stax",
|
|
srcs = ["experimental/stax.py"],
|
|
deps = [":jax"],
|
|
)
|
|
|
|
py_library(
|
|
name = "optimizers",
|
|
srcs = ["experimental/optimizers.py"],
|
|
deps = [":jax"],
|
|
)
|
|
|
|
py_library(
|
|
name = "ode",
|
|
srcs = ["experimental/ode.py"],
|
|
deps = [":jax"],
|
|
)
|
|
|
|
py_library(
|
|
name = "vectorize",
|
|
srcs = ["experimental/vectorize.py"],
|
|
deps = [":jax"],
|
|
)
|