ztlearn.dl.layers package¶
Subpackages¶
Submodules¶
ztlearn.dl.layers.base module¶
ztlearn.dl.layers.convolutional module¶
-
class
ztlearn.dl.layers.convolutional.
Conv
(filters=32, kernel_size=(3, 3), activation=None, input_shape=(1, 8, 8), strides=(1, 1), padding='valid')[source]¶ Bases:
ztlearn.dl.layers.base.Layer
-
layer_activation
¶
-
layer_parameters
¶
-
output_shape
¶
-
trainable
¶
-
weight_initializer
¶
-
weight_optimizer
¶
-
-
class
ztlearn.dl.layers.convolutional.
Conv2D
(filters=32, kernel_size=(3, 3), activation=None, input_shape=(1, 8, 8), strides=(1, 1), padding='valid')[source]¶
-
class
ztlearn.dl.layers.convolutional.
ConvLoop2D
(filters=32, kernel_size=(3, 3), activation=None, input_shape=(1, 8, 8), strides=(1, 1), padding='valid')[source]¶
ztlearn.dl.layers.core module¶
-
class
ztlearn.dl.layers.core.
Activation
(function_name, input_shape=None, **kwargs)[source]¶ Bases:
ztlearn.dl.layers.base.Layer
-
layer_name
¶
-
output_shape
¶
-
trainable
¶
-
-
class
ztlearn.dl.layers.core.
Dense
(units, activation=None, input_shape=None)[source]¶ Bases:
ztlearn.dl.layers.base.Layer
-
layer_activation
¶
-
layer_parameters
¶
-
output_shape
¶
-
trainable
¶
-
weight_initializer
¶
-
weight_optimizer
¶
-
-
class
ztlearn.dl.layers.core.
Dropout
(drop=0.5)[source]¶ Bases:
ztlearn.dl.layers.base.Layer
-
output_shape
¶
-
trainable
¶
-
-
class
ztlearn.dl.layers.core.
Flatten
(input_shape=None)[source]¶ Bases:
ztlearn.dl.layers.base.Layer
-
output_shape
¶
-
trainable
¶
-
-
class
ztlearn.dl.layers.core.
Reshape
(target_shape, input_shape=None)[source]¶ Bases:
ztlearn.dl.layers.base.Layer
-
output_shape
¶
-
trainable
¶
-
ztlearn.dl.layers.embedding module¶
ztlearn.dl.layers.normalization module¶
ztlearn.dl.layers.pooling module¶
-
class
ztlearn.dl.layers.pooling.
AveragePool2D
(pool_size=(2, 2), strides=(1, 1), padding='valid')[source]¶