Package

com.intel.analytics.zoo.pipeline.api.keras2

layers

Permalink

package layers

Visibility
  1. Public
  2. All

Type Members

  1. class Activation[T] extends keras.layers.Activation[T] with Net

    Permalink

    Simple activation function to be applied to the output.

    Simple activation function to be applied to the output. Available activations: 'tanh', 'relu', 'sigmoid', 'softmax', 'softplus', 'softsign', 'hard_sigmoid', 'linear', 'relu6', 'tanh_shrink', 'softmin', 'log_sigmoid' and 'log_softmax'.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now.

  2. class Average[T] extends Merge[T] with Net

    Permalink

    Layer that computes the average (element-wise) a list of inputs.

    Layer that computes the average (element-wise) a list of inputs.

    It takes as input a list of nodes, all of the same shape, and returns a single node (also of the same shape).

  3. class AveragePooling1D[T] extends keras.layers.AveragePooling1D[T] with Net

    Permalink

    Average pooling operation for temporal data.

    Average pooling operation for temporal data.

    Input shape 3D tensor with shape: (batch_size, steps, features).

    Output shape 3D tensor with shape: (batch_size, downsampled_steps, features).

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now

  4. class Conv1D[T] extends Convolution1D[T] with Net

    Permalink

    1D convolution layer (e.g.

    1D convolution layer (e.g. temporal convolution). This layer creates a convolution kernel that is convolved with the layer input over a single spatial (or temporal) dimension to produce a tensor of outputs. If use_bias is True, a bias vector is created and added to the outputs. Finally, if activation is not None, it is applied to the outputs as well.

    When using this layer as the first layer in a model, provide an input_shape argument (tuple of integers or None, e.g. (10, 128) for sequences of 10 vectors of 128-dimensional vectors, or (None, 128) for variable-length sequences of 128-dimensional vectors.

    Input shape 3D tensor with shape: (batch_size, steps, input_dim)

    Output shape 3D tensor with shape: (batch_size, new_steps, filters) steps value might have changed due to padding or strides.

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now.

  5. class Conv2D[T] extends Convolution2D[T] with Net

    Permalink

    2D convolution layer (e.g.

    2D convolution layer (e.g. spatial convolution over images).

    This layer creates a convolution kernel that is convolved with the layer input to produce a tensor of outputs. If use_bias is True, a bias vector is created and added to the outputs. Finally, if activation is not None, it is applied to the outputs as well.

    When using this layer as the first layer in a model, provide the keyword argument input_shape (tuple of integers, does not include the sample axis), e.g. input_shape=(128, 128, 3) for 128x128 RGB pictures in data_format="channels_last".

    Input shape 4D tensor with shape: (samples, channels, rows, cols) if data_format='channels_first' or 4D tensor with shape: (samples, rows, cols, channels) if data_format='channels_last'.

    Output shape 4D tensor with shape: (samples, filters, new_rows, new_cols) if data_format='channels_first' or 4D tensor with shape: (samples, new_rows, new_cols, filters) if data_format='channels_last'. rows and cols values might have changed due to padding.

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now.

  6. class Cropping1D[T] extends keras.layers.Cropping1D[T] with Net

    Permalink

    Cropping layer for 1D input (e.g.

    Cropping layer for 1D input (e.g. temporal sequence). The input of this layer should be 3D.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now.

  7. class Dense[T] extends keras.layers.Dense[T] with Net

    Permalink

    A densely-connected NN layer.

    A densely-connected NN layer. The most common input is 2D.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now.

  8. class Dropout[T] extends keras.layers.Dropout[T] with Net

    Permalink

    Applies Dropout to the input by randomly setting a fraction 'rate' of input units to 0 at each update during training time in order to prevent overfitting.

    Applies Dropout to the input by randomly setting a fraction 'rate' of input units to 0 at each update during training time in order to prevent overfitting.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now.

  9. class Flatten[T] extends keras.layers.Flatten[T] with Net

    Permalink

    Flattens the input without affecting the batch size.

    Flattens the input without affecting the batch size. For example, if inputShape = Shape(2, 3, 4), then outputShape will be Shape(24) with batch dimension unchanged.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now.

  10. class GlobalAveragePooling1D[T] extends keras.layers.GlobalAveragePooling1D[T] with Net

    Permalink

    Applies global average pooling operation for temporal data.

    Applies global average pooling operation for temporal data. The input of this layer should be 3D.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    The numeric type of parameter(e.g. weight, bias). Only support float/double now.

  11. class GlobalAveragePooling2D[T] extends keras.layers.GlobalAveragePooling2D[T] with Net

    Permalink

    Applies global average pooling operation for spatial data.

    Applies global average pooling operation for spatial data. The input of this layer should be 4D.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    The numeric type of parameter(e.g. weight, bias). Only support float/double now.

  12. class GlobalAveragePooling3D[T] extends keras.layers.GlobalAveragePooling3D[T] with Net

    Permalink

    Applies global average pooling operation for 3D data.

    Applies global average pooling operation for 3D data. Data format currently supported for this layer is 'channels_first' . Padding currently supported for this layer is 'valid'. The input of this layer should be 5D.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    The numeric type of parameter(e.g. weight, bias). Only support float/double now.

  13. class GlobalMaxPooling1D[T] extends keras.layers.GlobalMaxPooling1D[T] with Net

    Permalink

    Applies global max pooling operation for temporal data.

    Applies global max pooling operation for temporal data. The input of this layer should be 3D.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    The numeric type of parameter(e.g. weight, bias). Only support float/double now.

  14. class GlobalMaxPooling2D[T] extends keras.layers.GlobalMaxPooling2D[T] with Net

    Permalink

    Applies global max pooling operation for spatial data.

    Applies global max pooling operation for spatial data. The input of this layer should be 4D.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    The numeric type of parameter(e.g. weight, bias). Only support float/double now.

  15. class GlobalMaxPooling3D[T] extends keras.layers.GlobalMaxPooling3D[T] with Net

    Permalink

    Applies global max pooling operation for 3D data.

    Applies global max pooling operation for 3D data. Data format currently supported for this layer is 'channels_first' (. padding currently supported for this layer is 'valid'. The input of this layer should be 5D.

    When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    The numeric type of parameter(e.g. weight, bias). Only support float/double now.

  16. class LocallyConnected1D[T] extends keras.layers.LocallyConnected1D[T] with Net

    Permalink

    Locally-connected layer for 1D inputs which works similarly to the TemporalConvolution layer, except that weights are unshared, that is, a different set of filters is applied at each different patch of the input.

    Locally-connected layer for 1D inputs which works similarly to the TemporalConvolution layer, except that weights are unshared, that is, a different set of filters is applied at each different patch of the input. Padding currently supported for this layer is 'valid'. The input of this layer should be 3D.

    When using this layer as the first layer in a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).

    T

    The numeric type of parameter(e.g. weight, bias). Only support float/double now.

  17. class MaxPooling1D[T] extends keras.layers.MaxPooling1D[T] with Net

    Permalink

    Max pooling operation for temporal data.

    Max pooling operation for temporal data.

    Input shape 3D tensor with shape: (batch_size, steps, features).

    Output shape 3D tensor with shape: (batch_size, downsampled_steps, features).

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now

  18. class Maximum[T] extends Merge[T] with Net

    Permalink

    Layer that computes the maximum (element-wise) a list of inputs.

    Layer that computes the maximum (element-wise) a list of inputs.

    It takes as input a list of nodes, all of the same shape, and returns a single node (also of the same shape).

  19. class Minimum[T] extends Merge[T] with Net

    Permalink

    Layer that computes the minimum (element-wise) a list of inputs.

    Layer that computes the minimum (element-wise) a list of inputs.

    It takes as input a list of nodes, all of the same shape, and returns a single node (also of the same shape).

  20. class SoftMax[T] extends keras.layers.SoftMax[T] with Net

    Permalink

Value Members

  1. object Activation extends Serializable

    Permalink
  2. object Average extends Serializable

    Permalink
  3. object AveragePooling1D extends Serializable

    Permalink
  4. object Conv1D extends Serializable

    Permalink
  5. object Conv2D extends Serializable

    Permalink
  6. object Cropping1D extends Serializable

    Permalink
  7. object Dense extends Serializable

    Permalink
  8. object Dropout extends Serializable

    Permalink
  9. object Flatten extends Serializable

    Permalink
  10. object GlobalAveragePooling1D extends Serializable

    Permalink
  11. object GlobalAveragePooling2D extends Serializable

    Permalink
  12. object GlobalAveragePooling3D extends Serializable

    Permalink
  13. object GlobalMaxPooling1D extends Serializable

    Permalink
  14. object GlobalMaxPooling2D extends Serializable

    Permalink
  15. object GlobalMaxPooling3D extends Serializable

    Permalink
  16. object LocallyConnected1D extends Serializable

    Permalink
  17. object MaxPooling1D extends Serializable

    Permalink
  18. object Maximum extends Serializable

    Permalink
  19. object Minimum extends Serializable

    Permalink
  20. object SoftMax extends Serializable

    Permalink
  21. package utils

    Permalink

Ungrouped