box_embeddings.modules.intersection.tf_hard_intersection
¶
Module Contents¶
- tf_hard_intersection(left: box_embeddings.parameterizations.TFTBoxTensor, right: box_embeddings.parameterizations.TFTBoxTensor) box_embeddings.parameterizations.TFTBoxTensor ¶
Hard Intersection operation as a function.
Note
This function can give fipped boxes, i.e. where z[i] > Z[i]
- Parameters
left – BoxTensor which is the left operand
right – BoxTensor which is the right operand
- Returns
The resulting BoxTensor obtained by interection. It has the same concrete type as the self (left operand).
- class TFHardIntersection(name=None)¶
Bases:
box_embeddings.modules.intersection.tf_intersection.TFIntersection
Hard intersection operation as a Layer/Module