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

Method apply

tensorflow/python/keras/engine/base_layer.py:1704–1717  ·  view source on GitHub ↗

Deprecated, do NOT use! This is an alias of `self.__call__`. Arguments: inputs: Input tensor(s). *args: additional positional arguments to be passed to `self.call`. **kwargs: additional keyword arguments to be passed to `self.call`. Returns: Output tensor(s).

(self, inputs, *args, **kwargs)

Source from the content-addressed store, hash-verified

1702 date=None, instructions='Please use `layer.__call__` method instead.')
1703 @doc_controls.do_not_doc_inheritable
1704 def apply(self, inputs, *args, **kwargs):
1705 """Deprecated, do NOT use!
1706
1707 This is an alias of `self.__call__`.
1708
1709 Arguments:
1710 inputs: Input tensor(s).
1711 *args: additional positional arguments to be passed to `self.call`.
1712 **kwargs: additional keyword arguments to be passed to `self.call`.
1713
1714 Returns:
1715 Output tensor(s).
1716 """
1717 return self.__call__(inputs, *args, **kwargs)
1718
1719 @deprecation.deprecated(
1720 date=None, instructions='Please use `layer.add_weight` method instead.')

Callers 15

as_datasetMethod · 0.45
testInsideFunctionMethod · 0.45
_EvalInputFnMethod · 0.45
_TrainInputFnMethod · 0.45
_simple_modelMethod · 0.45
testCreateBNMethod · 0.45
test3DInputAxis1Method · 0.45
test3DInputAxis2Method · 0.45
test4DInputAxis1Method · 0.45

Calls 1

__call__Method · 0.95

Tested by 15

testInsideFunctionMethod · 0.36
_EvalInputFnMethod · 0.36
_TrainInputFnMethod · 0.36
_simple_modelMethod · 0.36
testCreateBNMethod · 0.36
test3DInputAxis1Method · 0.36
test3DInputAxis2Method · 0.36
test4DInputAxis1Method · 0.36
test4DInputAxis2Method · 0.36
test4DInputAxis3Method · 0.36