[rllib] _init renamed to _build_layers in example

This commit is contained in:
Eric Liang 2018-07-12 19:21:58 +02:00 committed by GitHub
parent 5188b1d080
commit 8ea926c266
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ class CarlaModel(Model):
further fully connected layers.
"""
def _init(self, inputs, num_outputs, options):
def _build_layers(self, inputs, num_outputs, options):
# Parse options
image_shape = options["custom_options"]["image_shape"]
convs = options.get("conv_filters", [