Information about the forward pass of a convolution/pooling operation. It includes input and output shape, strides, filter size and padding information.
Clamps a value to a specified range.
Computes the information about a forward pass of a convolution/pooling operation.
Given the full size of the array and a shape that may contain -1 as the implicit dimension, returns the inferred shape where -1 is replaced. E.g. For shape=[2, -1, 3] and size=24, it will return [2, 4, 3].
The shape, which may contain -1 in some dimension.
The full size (number of elements) of the array.
The inferred shape where -1 is replaced with the inferred size.
Samples from a gaussian distribution.
The mean. Default is 0.
The standard deviation. Default is 1.
Returns a sample from a uniform [a, b] distribution.
Shuffles the array using Fisher-Yates algorithm.
Generated using TypeDoc