tensornn.utils

This file contains useful variables that are used in TensorNN.

Functions

normalize

Normalize the training data.

one_hot

Get the one-hot representation of an integer.

source

Get the source code of a TensorNN object.

takes_one_hot

Apply this decorator to a function that takes in a one-hot vector.

takes_single_value

Apply this decorator to a function that takes in a single value.