TCNs exhibit longer memory than recurrent architectures with the same capacity. Performs better than LSTM/GRU on a vast range of tasks (Seq. MNIST, Adding Problem, Copy Memory, Word-level PTB...). Parallelism (convolutional layers), flexible receptive field size (possible to specify how far the model can see), stable gradients (backpropagation through time, vanishing gradients). The usual way is to import the TCN layer and use it inside a Keras model. The receptive field is defined as the maximum number of steps back in time from current sample at time T, that a filter from (block, layer, stack, TCN) can hit (effective history) + 1. The receptive field of the TCN can be calculated. Once keras-tcn is installed as a package, you can take a glimpse of what is possible to do with TCNs. Some tasks examples are available in the repository for this purpose.

Features

  • Tested with Tensorflow 2.6, 2.7, 2.8 and 2.9.0rc2
  • For MacOS M1 users
  • The usual way is to import the TCN layer and use it inside a Keras model
  • A ready-to-use TCN model can be used that way (cf. tasks for some examples):
  • 3D tensor with shape
  • Provides parameters to configure your TCN layer

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Keras TCN

Keras TCN Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Keras TCN!

Additional Project Details

Programming Language

Python

Related Categories

Python Networking Software, Python Machine Learning Software

Registered

2022-08-15