2022-09-22 12:26:48 -07:00
|
|
|
# Copyright 2019 The JAX Authors.
|
2019-02-22 07:55:36 -05:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2022-12-14 15:07:04 -08:00
|
|
|
# Note: import <name> as <name> is required for names to be exported.
|
2024-09-20 07:51:48 -07:00
|
|
|
# See PEP 484 & https://github.com/jax-ml/jax/issues/7570
|
2022-12-14 15:07:04 -08:00
|
|
|
|
2020-10-17 11:45:28 -04:00
|
|
|
from jax._src.ops.scatter import (
|
2021-08-30 14:35:22 -07:00
|
|
|
segment_sum as segment_sum,
|
|
|
|
segment_prod as segment_prod,
|
|
|
|
segment_min as segment_min,
|
|
|
|
segment_max as segment_max,
|
2020-04-13 16:16:34 -04:00
|
|
|
)
|