The HuggingFace PyTorch pretrained BERT model has an embedding layer that includes the op NonZero. This is the description from the ONNX docs:
Returns the indices of the elements that are non-zero (in row-major order - by dimension). NonZero behaves similar to numpy.nonzero
Given that this op returns a tensor of arbitrary length, is there any way we can support this? @jwfromm do you have any thoughts?