src.model.deeplearn.layer.torf_element_divide_layer
Classes
|
- class src.model.deeplearn.layer.torf_element_divide_layer.TORFElementDivideLayer(*args, **kwargs)
- Author:
Alberto M. Esmoris Pena
Element-wise division of two tensors.
Given a list
[A, B]of two tensors with broadcastable shapes, computes \(\mathbf{A} \oslash \mathbf{B}\) (element-wise).- __init__(**kwargs)
See
LayerandLayer.__init__().
- call(inputs, training=False, mask=False)
Divide the first input tensor by the second.
- Parameters:
inputs – List of two tensors
[numerator, denominator].- Returns:
The element-wise quotient tensor.
- get_config()
Return necessary data to deserialize the layer.
- classmethod from_config(config)
Use given config data to deserialize the layer.