Comments (3)
@hzhangxyz can you share a sample file to reproduce the issue.
from netron.
Here is an example to reproduce it:
import torch
class Example(torch.nn.Module):
def forward(self, x):
return torch.polar(torch.ones_like(x), x)
example = torch.jit.script(Example())
print(example(torch.arange(10, dtype=torch.float32)))
torch.jit.save(example, "example.pt")
from netron.
torch.polar
is used in llama to implement rotary positional embedding, see https://github.com/meta-llama/llama/blob/54c22c0d63a3f3c9e77f43a6a3041c00018f4964/llama/model.py#L103
from netron.
Related Issues (20)
- TensorFlow Lite: Array buffer allocation failed
- API Support HOT 1
- do not upload file in chrom to netron HOT 2
- ONNX: Tensor shape is not displayed HOT 2
- TensorFlow Lite: no longer shows FlexBuffer operator attributes
- Unable to open SDXL Turbo ONNX model from Hugging Face HOT 3
- Reduce connection crossings HOT 3
- Graph scrolling by dragging scrollbars doesn't work well on Firefox HOT 1
- Python server sample exits before browser finished loading HOT 4
- Tell us about the architecture of netron. HOT 1
- CatBoost support
- TNN: weight layer does not exist in model HOT 2
- Unable to open SDXL Turbo unet model in Netron HOT 1
- File open dialog should be modal HOT 2
- Netron-Setup.exe doesn't work in windows. HOT 1
- Toggle search item types
- Python Server: context.identifier.toLowerCase is not a function
- TensorFlow: duplicate value HOT 1
- Model Blocks Editable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netron.