Module: tf.keras.backend

Keras backend API.

Functions

abs(...): Element-wise absolute value.

all(...): Bitwise reduction (logical AND).

any(...): Bitwise reduction (logical OR).

arange(...): Creates a 1D tensor containing a sequence of integers.

argmax(...): Returns the index of the maximum value along an axis.

argmin(...): Returns the index of the minimum value along an axis.

backend(...): Publicly accessible method for determining the current backend.

batch_dot(...): Batchwise dot product.

batch_flatten(...): Turn a nD tensor into a 2D tensor with same 0th dimension.

batch_get_value(...): Returns the value of more than one tensor variable.

batch_normalization(...): Applies batch normalization on x given mean, var, beta and gamma.

batch_set_value(...): Sets the values of many tensor variables at once.

bias_add(...): Adds a bias vector to a tensor.

binary_crossentropy(...): Binary crossentropy between an output tensor and a target tensor.

cast(...): Casts a tensor to a different dtype and returns it.

cast_to_floatx(...): Cast a Numpy array to the default Keras float type.

categorical_crossentropy(...): Categorical crossentropy between an output tensor and a target tensor.

clear_session(...): Resets all state generated by Keras.

clip(...): Element-wise value clipping.

concatenate(...): Concatenates a list of tensors alongside the specified axis.

constant(...): Creates a constant tensor.

conv1d(...): 1D convolution.

conv2d(...): 2D convolution.

conv2d_transpose(...): 2D deconvolution (i.e.

conv3d(...): 3D convolution.

cos(...): Computes cos of x element-wise.

count_params(...): Returns the static number of elements in a variable or tensor.