text: # Copyright 2020 The Flax 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 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.
  
  """Linen Neural Network api."""
  
  
  # pylint: disable=g-multiple-import
  # re-export commonly used modules and functions
  from .activation import (celu, elu, gelu, glu, leaky_relu, log_sigmoid,
                           log_softmax, relu, sigmoid, soft_sign, softmax,
                           softplus, swish, tanh)
  from .attention import (MultiHeadDotProductAttention, SelfAttention,
                          dot_product_attention, make_attention_mask,
                          make_causal_mask, combine_masks)
  from .linear import Conv, ConvTranspose, Dense, DenseGeneral, Embed
  from .module import Module, compact, enable_named_call, disable_named_call
  from .normalization import BatchNorm, GroupNorm, LayerNorm
  from .pooling import avg_pool, max_pool
  from .recurrent import GRUCell, LSTMCell, ConvLSTM
  from .stochastic import Dropout
  from .transforms import jit, named_call, remat, scan, vmap
  
  # pylint: enable=g-multiple-import
  