Skip to content

[TF] Add support for Erfc op #2622

@piotrkowalczuk

Description

@piotrkowalczuk
  • Name of layer type: Erfc
  • Is this a PyTorch or a TensorFlow layer type: TensorFlow
  • Your version of coremltools: 8.3.0 and 9.0.0
  • Your version of PyTorch/TensorFlow: 2.20.0-dev custom compilation
  • Impact of supporting this layer type. Why is adding support for this layer type important? Is it necessary to support a popular model or use case?: I'm building on the top of hugging face distilbert/distilbert-base-multilingual-cased. transformers==4.44.0
NotImplementedError: Conversion for TF op 'Erfc' not implemented.

name: "StatefulPartitionedCall/multi_classifier/tf_distil_bert_model/distilbert/transformer/layer_._0/ffn/Gelu/Erfc"
op: "Erfc"
input: "StatefulPartitionedCall/multi_classifier/tf_distil_bert_model/distilbert/transformer/layer_._0/ffn/Gelu/mul_1"
attr {
  key: "T"
  value {
    type: DT_FLOAT
  }
}

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