moe.writer package¶
moe.writer.echoer module¶
The echoer module contains an implementation of Writer which prints strings to stdout.
-
class
moe.writer.echoer.Echoer(stream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>)[source]¶ Bases:
objectWriter that prints strings to a given stream.
Parameters: stream (object, optional) – Defaults to sys.stdout. Stream to which to write.