Created
December 23, 2019 11:02
-
-
Save NMZivkovic/e2bb42c5d848a68b93663e1bc3c82718 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class QNetwork(network.Network): | |
"""Feed Forward network.""" | |
def __init__(self, | |
input_tensor_spec, | |
action_spec, | |
preprocessing_layers=None, | |
preprocessing_combiner=None, | |
conv_layer_params=None, | |
fc_layer_params=(75, 40), | |
dropout_layer_params=None, | |
activation_fn=tf.keras.activations.relu, | |
kernel_initializer=None, | |
batch_squash=True, | |
dtype=tf.float32, | |
name='QNetwork'): | |
"""Creates an instance of `QNetwork`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment