Toby Roseman
Toby Roseman
I don't understand this feature request. Can you give us a simple standalone model which could only be converted by adding this feature request?
Thanks @JierunChen - I can reproduce the issue (in coremltools 6.0b1).
Ok, so the issue here is supporting PyTorch version 1.12.0, not a missing layer type.
Can you give us an example to reproduce this error?
Hi @VincentWu1997 - this is not an example to reproduce the error. This is a (partial) stack trace. In order to help you, I need to be able to reproduce...
I'm not going to load an arbitrary model. That's a security risk. Can you define a model in code (ideally it would be only a couple of layers) that reproduces...
Minimal example to reproduce the error: ```python import torch import torch.nn as nn import coremltools as ct class Encode(nn.Module): def __init__(self, d_model = 512): super(Encode, self).__init__() self.d_model = d_model def...
CI run: https://gitlab.com/coremltools1/coremltools/-/pipelines/608716400
Related to (and possible a duplicate of) #941. @longluu - are you trying to convert a TensorFlow 1 model or a TensorFlow 2 model? Also related to #1311. As mentioned...
I don't know what's going on here. We support this layer type. We have [unit tests for this functionality](https://github.com/apple/coremltools/blob/61c9800c76b865181c146dd14ad46f0d892070dc/coremltools/converters/mil/frontend/tensorflow2/test/test_v2_ops_tf_keras.py#L853). @Ludotrico or @BrandonKynoch - can one of you give us a...