Skip to main content

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.

Metadata

Release files for loglu-tensorflow 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for loglu-tensorflow 0.0.1
File Size Uploaded
loglu_tensorflow-0.0.1.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for loglu-tensorflow 0.0.1
File Interpreter ABI Platform
loglu_tensorflow-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 kB

Release files / loglu_tensorflow-0.0.1.tar.gz

Download URL loglu_tensorflow-0.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b4a637f1155fd5ea27e58cba3f6701b9a541b83a0d36407f2a22089a210a63fd
BLAKE2b-256 checksum
How to use checksums
92a1d3759d6ae781f49c4dcc462c8df8935584695553ce1651eafa51879fa0bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / loglu_tensorflow-0.0.1-py3-none-any.whl

Download URL loglu_tensorflow-0.0.1-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff7c9acc5a344b7177a37db06cba07208772885074b99061c0c0c775657ded81
BLAKE2b-256 checksum
How to use checksums
3f52ce3eb67a75710f91f7d4143613d7fc651c3f9f715937b3c8eb27333eb59c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page