streamz icon indicating copy to clipboard operation
streamz copied to clipboard

How can I put an tensorflow model as args into a map function?

Open tywtyw opened this issue 6 years ago • 1 comments

def map(data, model): model.fit(data)

I want to put an tensorflow model into map function as args, However, the model has changed compared to before. So I am unable to train this model in the map function. Why is that? Why the tensorflow model changes after putting it into the map function.

tywtyw avatar Mar 18 '20 01:03 tywtyw

I think you had better offer a more complete example, showing expected and actual output, so that we can know what you are trying to achieve and what code you are using.

martindurant avatar Mar 18 '20 14:03 martindurant