@staticmethod<EOL><INDENT>def from_spec(spec, kwargs=None):<DEDENT>
baseline = util.get_object(<EOL>obj=spec,<EOL>predefined_objects=tensorforce.core.baselines.baselines,<EOL>kwargs=kwargs<EOL>)<EOL>assert isinstance(baseline, Baseline)<EOL>return baseline<EOL>
Creates a baseline from a specification dict.