MCPcopy
hub / github.com/karpathy/neuraltalk / decodeGenerator

Function decodeGenerator

imagernn/imagernn_utils.py:4–10  ·  view source on GitHub ↗

in the future we may want to have different classes and options for them. For now there is this one generator implemented and simply returned here.

(params)

Source from the content-addressed store, hash-verified

2import numpy as np
3
4def decodeGenerator(params):
5 """
6 in the future we may want to have different classes
7 and options for them. For now there is this one generator
8 implemented and simply returned here.
9 """
10 return GenericBatchGenerator
11
12def eval_split(split, dp, model, params, misc, **kwargs):
13 """ evaluate performance on a given split """

Callers 5

mainFunction · 0.90
mainFunction · 0.90
RNNGenCostFunction · 0.90
mainFunction · 0.90
eval_splitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected