We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyTorch code: def forward(self, x): ## x.shape = [B, T, F] B, _, _ = x.shape x = x.unsqueeze(1).transpose(2, 3) x = self.layers(x) x = torch.mean(x, dim=2, keepdim=True) x = x.view((B, self.last_channel, -1)) x = x.transpose(1, 2) return x
when convert onnx model to tflite, builder.py throw a KeyError, maybe we need to implement Shape op.
The text was updated successfully, but these errors were encountered:
Hi Ontheway361, you can implement it by yourself at first, and welcome PR.
Sorry, something went wrong.
No branches or pull requests
PyTorch code:
def forward(self, x):
## x.shape = [B, T, F]
B, _, _ = x.shape
x = x.unsqueeze(1).transpose(2, 3)
x = self.layers(x)
x = torch.mean(x, dim=2, keepdim=True)
x = x.view((B, self.last_channel, -1))
x = x.transpose(1, 2)
return x
when convert onnx model to tflite, builder.py throw a KeyError, maybe we need to implement Shape op.
The text was updated successfully, but these errors were encountered: