yobx.tensorflow.ops.binary_ops#
Converters for TF binary (element-wise) ops.
Arithmetic#
Sub, Mul, RealDiv, FloorDiv, Minimum, Maximum,
Pow, SquaredDifference, FloorMod, TruncateMod
Comparison#
Equal, NotEqual, Greater, GreaterEqual, Less,
LessEqual
Logical#
LogicalAnd, LogicalNot, LogicalOr, LogicalXor
- yobx.tensorflow.ops.binary_ops.convert_equal(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
Equal→ ONNXEqual.
- yobx.tensorflow.ops.binary_ops.convert_floor_div(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
FloorDiv→ ONNXFloor(Div(a, b)).
- yobx.tensorflow.ops.binary_ops.convert_floor_mod(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
FloorMod→ ONNXMod(fmod=0).
- yobx.tensorflow.ops.binary_ops.convert_greater(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
Greater→ ONNXGreater.
- yobx.tensorflow.ops.binary_ops.convert_greater_equal(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
GreaterEqual→ ONNXGreaterOrEqual.
- yobx.tensorflow.ops.binary_ops.convert_less(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
Less→ ONNXLess.
- yobx.tensorflow.ops.binary_ops.convert_less_equal(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
LessEqual→ ONNXLessOrEqual.
- yobx.tensorflow.ops.binary_ops.convert_logical_and(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
LogicalAnd→ ONNXAnd.
- yobx.tensorflow.ops.binary_ops.convert_logical_not(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
LogicalNot→ ONNXNot.
- yobx.tensorflow.ops.binary_ops.convert_logical_or(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
LogicalOr→ ONNXOr.
- yobx.tensorflow.ops.binary_ops.convert_logical_xor(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
LogicalXor→ ONNXXor.
- yobx.tensorflow.ops.binary_ops.convert_maximum(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
Maximum→ ONNXMax.
- yobx.tensorflow.ops.binary_ops.convert_minimum(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
Minimum→ ONNXMin.
- yobx.tensorflow.ops.binary_ops.convert_mul(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
Mul→ ONNXMul.
- yobx.tensorflow.ops.binary_ops.convert_not_equal(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
NotEqual→ ONNXNot(Equal(a, b)).
- yobx.tensorflow.ops.binary_ops.convert_pow(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
Pow→ ONNXPow.
- yobx.tensorflow.ops.binary_ops.convert_real_div(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
RealDiv→ ONNXDiv.
- yobx.tensorflow.ops.binary_ops.convert_squared_difference(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
TF
SquaredDifference→ ONNXMul(Sub(a, b), Sub(a, b)).