def __init__(<EOL>self,<EOL>states,<EOL>actions,<EOL>batched_observe=True,<EOL>batching_capacity=<NUM_LIT:1000>,<EOL>scope='<STR_LIT>',<EOL>device=None,<EOL>saver=None,<EOL>summarizer=None,<EOL>execution=None,<EOL>):
self.scope = scope<EOL>self.device = device<EOL>self.saver = saver<EOL>self.summarizer = summarizer<EOL>self.execution = sanity_check_execution_spec(execution)<EOL>super(RandomAgent, self).__init__(<EOL>states=states,<EOL>actions=actions,<EOL>batched_observe=batched_observe,<EOL>batching_capacity=batching_capacity<EOL>)<EOL>
Initializes the random agent.

Args:
    scope (str): TensorFlow scope (default: name of agent).
    device: TensorFlow device (default: none)
    saver (spec): Saver specification, with the following attributes (default: none):
        - directory: model directory.
        - file: model filename (optional).
        - seconds or steps: save frequency (default: 600 seconds).
        - load: specifies whether model is loaded, if existent (default: true).
        - basename: optional file basename (default: 'model.ckpt').
    summarizer (spec): Summarizer specification, with the following attributes (default:
        none):
        - directory: summaries directory.
        - seconds or steps: summarize frequency (default: 120 seconds).
        - labels: list of summary labels to record (default: []).
        - meta_param_recorder_class: ???.
    execution (spec): Execution specification (see sanity_check_execution_spec for details).