yobx.tensorflow.ops.gather_ops#
Converter for TF GatherV2 op → ONNX Gather.
Indexing / lookup#
GatherV2
- yobx.tensorflow.ops.gather_ops.convert_gather_v2(g: GraphBuilderExtendedProtocol, sts: Dict[str, Any], outputs: List[str], op: Operation) str[source]#
Converts TF
GatherV2(tf.gather) → ONNXGather.TF
GatherV2takes three inputs:params,indices, and a scalaraxisconstant. The axis value is read from that constant and forwarded as theaxisattribute of the ONNXGathernode.