Adds a function to the layer's `fns` collection. This should be used to add op-like functions specific to the operation of the layer and its children. Such functions should be added in `__init__` and may either be raw python functions or TensorFlow Defuns. This facility is just a me
(self, name, f, replace=False)
source not stored for this graph (policy: none)