Skip to content

Conversion for TF op 'RFFT' not implemented #1529

@longluu

Description

@longluu
  • Name of layer type: rfft
  • Is this a PyTorch or a TensorFlow layer type: TensorFlow
  • Your version of coremltools: 6.01b
  • Your version of TensorFlow: 2.8.0
  • Impact of supporting this layer type: I'm trying to convert a pretrained yamnet model, which is a hugely popular sound classification model (https://tfhub.dev/google/yamnet/1). This is the error I encountered:

NotImplementedError: Conversion for TF op 'RFFT' not implemented.

name: "yamnet_frames/tf.signal.stft/stft/rfft"
op: "RFFT"
input: "yamnet_frames/tf.signal.stft/stft/rfft/Pad"
input: "yamnet_frames/tf.signal.stft/stft/rfft/fft_length"
attr {
key: "Tcomplex"
value {
type: DT_COMPLEX64
}
}
attr {
key: "Treal"
value {
type: DT_FLOAT
}
}

Thanks for helping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing layer typeUnable to convert a layer type from the relevant frameworktf2.x / tf.kerasIssue could be related to tf2.x where coremltools isn't supported (component)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions