MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / __call__

Method __call__

tensorflow/contrib/specs/python/specs_lib.py:158–162  ·  view source on GitHub ↗
(self, *args, **kw)

Source from the content-addressed store, hash-verified

156 self.kw = kw
157
158 def __call__(self, *args, **kw):
159 new_args = list(args) + self.args
160 new_kw = self.kw.copy()
161 new_kw.update(kw)
162 return Function(self.f, *new_args, **new_kw)
163
164 # TODO(tmb) The `of` method may be renamed to `function`.
165 def funcall(self, x):

Callers

nothing calls this directly

Calls 3

FunctionClass · 0.70
copyMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected