Skip to main content

LogLU Activation Function - TensorFlow

Project description

Installation

To use LogLU, simply install it using the following command:

pip install loglu-tensorflow

Implementation

import tensorflow as tf
from loglu_tensorflow import LogLU # Importing the LogLU activation function from the loglu package

# Define a model
model = tf.keras.models.Sequential([
    tf.keras.layers.Dense(128, input_shape=(784,)),
    tf.keras.layers.Activation(LogLU()),  # Use LogLU as the activation function
    tf.keras.layers.Dense(10, activation='softmax')
])

# Compile the model

# Summary of the model
model.summary()

License

LogLU-TensorFlow is released under the Apache License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loglu_tensorflow-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

loglu_tensorflow-0.0.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file loglu_tensorflow-0.0.1.tar.gz.

File metadata

  • Download URL: loglu_tensorflow-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for loglu_tensorflow-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b4a637f1155fd5ea27e58cba3f6701b9a541b83a0d36407f2a22089a210a63fd
MD5 79ab524df4f6668890af60e89befbbeb
BLAKE2b-256 92a1d3759d6ae781f49c4dcc462c8df8935584695553ce1651eafa51879fa0bb

See more details on using hashes here.

File details

Details for the file loglu_tensorflow-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for loglu_tensorflow-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff7c9acc5a344b7177a37db06cba07208772885074b99061c0c0c775657ded81
MD5 cd55ad0bf7a787567d136620f85ef01f
BLAKE2b-256 3f52ce3eb67a75710f91f7d4143613d7fc651c3f9f715937b3c8eb27333eb59c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page