neon.data.ticker.Ticker

class neon.data.ticker.Ticker(task)[source]

Bases: neon.NervanaObject

This class defines methods for generating and iterating over ticker datasets.

__init__(task)[source]

Construct a ticker dataset object.

Parameters:task – An object representing the task to be trained on It contains information about input and output size, sequence length, etc. It also implements a synthesize function, which is used to generate the next minibatch of data.

Methods

__init__(task) Construct a ticker dataset object.
gen_class(pdict)
get_description([skip]) Returns a dict that contains all necessary information needed to serialize this object.
recursive_gen(pdict, key) helper method to check whether the definition
reset() Reset has no meaning in the context of ticker data.
be = None
classnm

Returns the class name.

gen_class(pdict)
get_description(skip=[], **kwargs)

Returns a dict that contains all necessary information needed to serialize this object.

Parameters:skip (list) – Objects to omit from the dictionary.
Returns:Dictionary format for object information.
Return type:(dict)
modulenm

Returns the full module path.

recursive_gen(pdict, key)

helper method to check whether the definition dictionary is defining a NervanaObject child, if so it will instantiate that object and replace the dictionary element with an instance of that object

reset()[source]

Reset has no meaning in the context of ticker data.