repo stringclasses 454
values | file_path stringlengths 5 201 | extension stringclasses 1
value | content stringlengths 8 509k | num_lines int64 3 16.9k | size_bytes int64 8 511k |
|---|---|---|---|---|---|
jax | jax/experimental/sparse/linalg.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 626 | 23,493 |
jax | jax/experimental/sparse/_lowerings.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 334 | 12,832 |
jax | jax/experimental/colocated_python/obj_backend.py | .py | # Copyright 2025 The JAX Authors.
#
# 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 wri... | 128 | 4,054 |
jax | jax/experimental/colocated_python/func.py | .py | # Copyright 2024 The JAX Authors.
#
# 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 wri... | 859 | 31,363 |
jax | jax/experimental/colocated_python/func_backend.py | .py | # Copyright 2024 The JAX Authors.
#
# 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 wri... | 45 | 1,382 |
jax | jax/experimental/colocated_python/obj.py | .py | # Copyright 2025 The JAX Authors.
#
# 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 wri... | 209 | 6,577 |
jax | jax/experimental/colocated_python/api.py | .py | # Copyright 2024 The JAX Authors.
#
# 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 wri... | 193 | 6,998 |
jax | jax/experimental/colocated_python/serialization.py | .py | # Copyright 2024 The JAX Authors.
#
# 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 wri... | 349 | 12,297 |
jax | jax/experimental/jax2tf/jax2tf.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 920 | 38,225 |
jax | jax/experimental/jax2tf/__init__.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 24 | 944 |
jax | jax/experimental/jax2tf/call_tf.py | .py | # Copyright 2021 The JAX Authors.
#
# 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 wri... | 728 | 29,234 |
jax | jax/experimental/jax2tf/tests/shape_poly_test.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 1,131 | 47,395 |
jax | jax/experimental/jax2tf/tests/model_harness.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 422 | 13,870 |
jax | jax/experimental/jax2tf/tests/jax_primitives_coverage_test.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 160 | 6,645 |
jax | jax/experimental/jax2tf/tests/back_compat_tf_test.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 158 | 5,547 |
jax | jax/experimental/jax2tf/tests/jax2tf_limitations.py | .py | # Copyright 2021 The JAX Authors.
#
# 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 wri... | 214 | 7,546 |
jax | jax/experimental/jax2tf/tests/cross_compilation_check.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 214 | 7,384 |
jax | jax/experimental/jax2tf/tests/primitives_test.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 195 | 7,839 |
jax | jax/experimental/jax2tf/tests/control_flow_ops_test.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 305 | 10,073 |
jax | jax/experimental/jax2tf/tests/sharding_test.py | .py | # Copyright 2021 The JAX Authors.
#
# 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 wri... | 603 | 24,238 |
jax | jax/experimental/jax2tf/tests/converters.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 64 | 1,998 |
jax | jax/experimental/jax2tf/tests/savedmodel_test.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 341 | 13,099 |
jax | jax/experimental/jax2tf/tests/models_test_main.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 258 | 8,896 |
jax | jax/experimental/jax2tf/tests/tf_test_util.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 405 | 17,071 |
jax | jax/experimental/jax2tf/tests/call_tf_test.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 1,758 | 61,702 |
jax | jax/experimental/jax2tf/tests/jax2tf_test.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 1,491 | 54,534 |
jax | jax/experimental/jax2tf/tests/multiprocess/jax2tf_multiprocess_test.py | .py | # Copyright 2025 The JAX Authors.
#
# 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 wri... | 82 | 2,818 |
jax | jax/experimental/jax2tf/tests/back_compat_testdata/tf_call_tf_function.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 368 | 50,030 |
jax | jax/experimental/jax2tf/tests/flax_models/gnn.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 194 | 6,823 |
jax | jax/experimental/jax2tf/tests/flax_models/actor_critic.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 60 | 2,285 |
jax | jax/experimental/jax2tf/tests/flax_models/resnet.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 145 | 4,528 |
jax | jax/experimental/jax2tf/tests/flax_models/cnn.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 38 | 1,234 |
jax | jax/experimental/jax2tf/tests/flax_models/transformer_nlp_seq.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 234 | 6,776 |
jax | jax/experimental/jax2tf/tests/flax_models/bilstm_classifier.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 406 | 14,439 |
jax | jax/experimental/jax2tf/tests/flax_models/seq2seq_lstm.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 205 | 7,073 |
jax | jax/experimental/jax2tf/tests/flax_models/transformer_wmt.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 596 | 19,012 |
jax | jax/experimental/jax2tf/tests/flax_models/vae.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 66 | 1,741 |
jax | jax/experimental/jax2tf/tests/flax_models/transformer_lm1b.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 384 | 12,423 |
jax | jax/experimental/jax2tf/examples/saved_model_main_test.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 73 | 2,492 |
jax | jax/experimental/jax2tf/examples/keras_reuse_main_test.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 53 | 1,702 |
jax | jax/experimental/jax2tf/examples/saved_model_lib.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 151 | 6,883 |
jax | jax/experimental/jax2tf/examples/keras_reuse_main.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 82 | 2,980 |
jax | jax/experimental/jax2tf/examples/saved_model_main.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 213 | 8,106 |
jax | jax/experimental/jax2tf/examples/mnist_lib.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 327 | 11,762 |
jax | jax/experimental/jax2tf/examples/serving/model_server_request.py | .py | # Copyright 2021 The JAX Authors.
#
# 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 wri... | 129 | 4,946 |
jax | jax/numpy/fft.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 38 | 1,084 |
jax | jax/numpy/__init__.py | .py | # Copyright 2018 The JAX Authors.
#
# 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 wri... | 509 | 12,511 |
jax | jax/numpy/linalg.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 51 | 1,419 |
jax | jax/extend/__init__.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 51 | 1,709 |
jax | jax/extend/random.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 35 | 1,171 |
jax | jax/extend/linear_util.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 40 | 1,601 |
jax | jax/extend/sharding.py | .py | # Copyright 2025 The JAX Authors.
#
# 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 wri... | 37 | 1,327 |
jax | jax/extend/source_info_util.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 33 | 1,215 |
jax | jax/extend/backend.py | .py | # Copyright 2024 The JAX Authors.
#
# 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 wri... | 44 | 1,370 |
jax | jax/extend/mlir/__init__.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 28 | 998 |
jax | jax/extend/core/__init__.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 67 | 2,353 |
jax | jax/extend/core/primitives.py | .py | # Copyright 2024 The JAX Authors.
#
# 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 wri... | 254 | 6,599 |
jax | jax/interpreters/partial_eval.py | .py | # Copyright 2018 The JAX Authors.
#
# 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 wri... | 41 | 1,614 |
jax | jax/interpreters/pxla.py | .py | # Copyright 2018 The JAX Authors.
#
# 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 wri... | 140 | 4,624 |
jax | jax/interpreters/batching.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 33 | 1,276 |
jax | jax/interpreters/xla.py | .py | # Copyright 2018 The JAX Authors.
#
# 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 wri... | 28 | 883 |
jax | jax/interpreters/mlir.py | .py | # Copyright 2021 The JAX Authors.
#
# 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 wri... | 78 | 2,823 |
jax | jax/interpreters/ad.py | .py | # Copyright 2023 The JAX Authors.
#
# 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 wri... | 44 | 1,478 |
jax | jax/scipy/signal.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 30 | 975 |
jax | jax/scipy/special.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 100 | 2,556 |
jax | jax/scipy/__init__.py | .py | # Copyright 2018 The JAX Authors.
#
# 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 wri... | 48 | 1,474 |
jax | jax/scipy/linalg.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 63 | 1,752 |
jax | jax/scipy/stats/beta.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 26 | 851 |
jax | jax/scipy/stats/gumbel_r.py | .py | # Copyright 2025 The JAX Authors.
#
# 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 wri... | 27 | 868 |
jax | jax/scipy/stats/norm.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 28 | 879 |
jax | jax/scipy/stats/expon.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 27 | 866 |
jax | jax/scipy/stats/chi2.py | .py | # Copyright 2021 The JAX Authors.
#
# 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 wri... | 26 | 851 |
jax | jax/scipy/stats/gumbel_l.py | .py | # Copyright 2025 The JAX Authors.
#
# 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 wri... | 27 | 868 |
jax | jax/scipy/stats/pareto.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 27 | 867 |
jax | jax/scipy/stats/truncnorm.py | .py | # Copyright 2022 The JAX Authors.
#
# 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 wri... | 26 | 855 |
jax | jax/scipy/stats/cauchy.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 28 | 881 |
jax | jax/scipy/stats/gamma.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 26 | 852 |
jax | jax/scipy/stats/logistic.py | .py | # Copyright 2020 The JAX Authors.
#
# 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 wri... | 26 | 845 |
jax | ci/parse_wheel_metadata.py | .py | # Copyright 2026 The JAX Authors.
#
# 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 wri... | 112 | 3,279 |
jax | ci/postprocess/xml2json.py | .py | # Copyright 2026 The JAX Authors.
#
# 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 wri... | 213 | 7,454 |
jax | ci/utilities/convert_msys_paths_to_win_paths.py | .py | # Copyright 2024 The JAX Authors.
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 81 | 2,710 |
jax | ci/utilities/report_resultstore_link.py | .py | # Copyright 2026 The JAX Authors.
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 65 | 2,099 |
humanizer | scripts/validate-package.py | .py | #!/usr/bin/env python3
"""Validate Humanizer's portable package surfaces without external dependencies."""
from __future__ import annotations
import json
import re
from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent
SKILL = (ROOT / "SKILL.md").read_text()
README = (ROOT / "README.md").read_text()... | 62 | 1,952 |
DeepTutor | deeptutor_web/__init__.py | .py | """Packaged DeepTutor Web standalone assets.
Release builds populate this package with Next.js standalone output:
``server.js``, ``.next/static``, ``public``, and the minimal Node runtime files
emitted by ``next build``. Source checkouts normally leave it empty and the
launcher falls back to ``web/``.
"""
from __futu... | 12 | 369 |
DeepTutor | deeptutor_cli/skill_login.py | .py | """
Browser OAuth login for skill hubs (loopback token capture)
============================================================
``deeptutor skills login`` opens the hub's GitHub/Google authorization page in
a browser and captures the minted API token via a one-shot loopback server on
``127.0.0.1``. The hub only ever redi... | 135 | 4,814 |
DeepTutor | deeptutor_cli/main.py | .py | """CLI entry point for the standalone ``deeptutor-cli`` package."""
from __future__ import annotations
from pathlib import Path
import typer
from deeptutor.logging import configure_logging
from deeptutor.runtime.mode import RunMode, set_mode
from .book import register as register_book
from .chat import register as... | 184 | 6,483 |
DeepTutor | deeptutor_cli/book.py | .py | """``deeptutor book ...`` CLI commands for the new BookEngine.
Currently exposes maintenance commands. (Authoring/reading still goes through
the API + web frontend.)
"""
from __future__ import annotations
import json
import typer
from .common import console
def register(app: typer.Typer) -> None:
@app.comman... | 62 | 1,995 |
DeepTutor | deeptutor_cli/session_cmd.py | .py | """CLI commands for shared session management."""
from __future__ import annotations
import json
import typer
from deeptutor.app import DeepTutorApp
from .chat import ChatState, _chat_repl
from .common import console, maybe_run, print_session_table
def register(app: typer.Typer) -> None:
@app.command("list")... | 102 | 3,416 |
DeepTutor | deeptutor_cli/__main__.py | .py | """Allow running as ``python -m deeptutor_cli`` or ``deeptutor``."""
from deeptutor_cli.main import main
main()
| 6 | 114 |
DeepTutor | deeptutor_cli/__init__.py | .py | """
DeepTutor CLI
=============
Command-line interface for DeepTutor.
Supports: ``python -m deeptutor`` or the ``deeptutor`` entry point.
"""
| 8 | 143 |
DeepTutor | deeptutor_cli/chat.py | .py | """Interactive chat REPL."""
from __future__ import annotations
from contextlib import suppress
from dataclasses import dataclass, field
import json
import shlex
from typing import Any
from rich.panel import Panel
from rich.text import Text
import typer
from deeptutor.app import DeepTutorApp, TurnRequest
from .com... | 378 | 13,837 |
DeepTutor | deeptutor_cli/skill_prompts.py | .py | """
Interactive taxonomy pickers for ``skill publish`` / ``skill update``.
Terminal prompts that mirror EduHub's web upload form: a required single-select
``track`` plus the optional multi-select facets (language is single-select with
a default). Selections can be pre-filled — from SKILL.md frontmatter on publish,
or ... | 209 | 7,500 |
DeepTutor | deeptutor_cli/kb.py | .py | """
CLI Knowledge Base Command
===========================
Manage llamaindex knowledge bases from the command line.
"""
from __future__ import annotations
import asyncio
import json
from pathlib import Path
from typing import Optional
from rich.console import Console
from rich.table import Table
import typer
from ... | 287 | 10,619 |
DeepTutor | deeptutor_cli/partner.py | .py | """
CLI commands for managing partner instances.
"""
from __future__ import annotations
import asyncio
from rich.console import Console
from rich.table import Table
import typer
console = Console()
def register(app: typer.Typer) -> None:
@app.command("list")
def partner_list() -> None:
"""List all... | 104 | 3,625 |
DeepTutor | deeptutor_cli/provider_cmd.py | .py | """CLI commands for provider auth and access validation."""
from __future__ import annotations
import asyncio
import webbrowser
import typer
from deeptutor.services.codex_auth import CodexAuthError, get_codex_oauth_service
from .common import maybe_run
def register(app: typer.Typer) -> None:
@app.command("lo... | 167 | 6,488 |
DeepTutor | deeptutor_cli/config_cmd.py | .py | """
CLI Config Command
==================
View and update DeepTutor configuration.
"""
from __future__ import annotations
from rich.console import Console
import typer
console = Console()
def register(app: typer.Typer) -> None:
@app.command("show")
def config_show() -> None:
"""Show current config... | 93 | 3,412 |
DeepTutor | deeptutor_cli/notebook.py | .py | """CLI commands for notebook record management."""
from __future__ import annotations
import json
from pathlib import Path
import typer
from deeptutor.app import DeepTutorApp
from .common import console, print_notebook_table
def register(app: typer.Typer) -> None:
@app.command("list")
def list_notebooks(... | 122 | 4,607 |
DeepTutor | deeptutor_cli/init_cmd.py | .py | """Interactive runtime settings initializer.
``deeptutor init`` walks the user through a four-step wizard (ports → LLM →
embedding → review) that writes the same files as the Web Settings page.
Heavy lifting (provider menu, live ``/models`` fetch, connectivity probe,
review panel) lives in :mod:`deeptutor_cli.init_wi... | 550 | 19,717 |
DeepTutor | deeptutor_cli/common.py | .py | """Shared CLI helpers."""
from __future__ import annotations
import asyncio
import contextlib
import json
from pathlib import Path
import signal
import sys
from typing import Any, Callable, Iterator, TextIO
from rich.console import Console
from rich.markdown import Markdown
from rich.markup import escape
from rich.s... | 913 | 33,409 |
DeepTutor | deeptutor_cli/skill.py | .py | """
CLI Skill Commands
==================
Manage local skills and install packages from external hubs (EduHub, ClawHub, …).
Hub references use ``<hub>:<slug>[@version]``; the hub prefix defaults to
``eduhub`` (DeepTutor's native open skill registry). Installs run the full
import gate: hub security verdict →
safe extr... | 564 | 23,358 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.