Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow_addons/layers/__init__.py: 100%
24 statements
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14# ==============================================================================
15"""Additional layers that conform to Keras API."""
17from tensorflow_addons.layers.adaptive_pooling import (
18 AdaptiveAveragePooling1D,
19 AdaptiveMaxPooling1D,
20 AdaptiveAveragePooling2D,
21 AdaptiveMaxPooling2D,
22 AdaptiveAveragePooling3D,
23 AdaptiveMaxPooling3D,
24)
26from tensorflow_addons.layers.embedding_bag import EmbeddingBag
27from tensorflow_addons.layers.gelu import GELU
28from tensorflow_addons.layers.max_unpooling_2d import MaxUnpooling2D
29from tensorflow_addons.layers.max_unpooling_2d_v2 import MaxUnpooling2DV2
30from tensorflow_addons.layers.maxout import Maxout
31from tensorflow_addons.layers.multihead_attention import MultiHeadAttention
32from tensorflow_addons.layers.normalizations import FilterResponseNormalization
33from tensorflow_addons.layers.normalizations import GroupNormalization
34from tensorflow_addons.layers.normalizations import InstanceNormalization
35from tensorflow_addons.layers.optical_flow import CorrelationCost
36from tensorflow_addons.layers.poincare import PoincareNormalize
37from tensorflow_addons.layers.polynomial import PolynomialCrossing
38from tensorflow_addons.layers.snake import Snake
39from tensorflow_addons.layers.sparsemax import Sparsemax
40from tensorflow_addons.layers.spectral_normalization import SpectralNormalization
41from tensorflow_addons.layers.spatial_pyramid_pooling import SpatialPyramidPooling2D
42from tensorflow_addons.layers.tlu import TLU
43from tensorflow_addons.layers.wrappers import WeightNormalization
44from tensorflow_addons.layers.esn import ESN
45from tensorflow_addons.layers.stochastic_depth import StochasticDepth
46from tensorflow_addons.layers.noisy_dense import NoisyDense
47from tensorflow_addons.layers.crf import CRF