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

Method captured_inputs

tensorflow/python/eager/function.py:1287–1294  ·  view source on GitHub ↗

Returns external Tensors captured by this function. self.__call__(*args) passes `args + self.captured_inputs` to the function.

(self)

Source from the content-addressed store, hash-verified

1285
1286 @property
1287 def captured_inputs(self):
1288 """Returns external Tensors captured by this function.
1289
1290 self.__call__(*args) passes `args + self.captured_inputs` to the function.
1291 """
1292 from_closures = nest.flatten([x() for x in self._captured_closures],
1293 expand_composites=True)
1294 return self._captured_inputs + from_closures
1295
1296 @property
1297 def function_def(self):

Callers 6

RunShortCircuitFunction · 0.45
RunMethod · 0.45
RunWithBorrowedArgsMethod · 0.45
RunInstantiatedMethod · 0.45
RunAsyncMethod · 0.45
AsGraphDefInternalMethod · 0.45

Calls 1

flattenMethod · 0.45

Tested by 1

AsGraphDefInternalMethod · 0.36