MCPcopy Index your code
hub / github.com/kkroening/ffmpeg-python / wrap

Method wrap

examples/tensorflow_stream.py:164–168  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

162 '''
163 placeholders = list(map(tf.placeholder, argtypes))
164 def wrap(f):
165 out = f(*placeholders)
166 def wrapper(*args, **kw):
167 return out.eval(dict(zip(placeholders, args)), session=kw.get('session'))
168 return wrapper
169 return wrap
170
171 @staticmethod

Callers

nothing calls this directly

Calls 1

fFunction · 0.85

Tested by

no test coverage detected