| import torch | |
| from bitnet.bit_moe import BitMoE | |
| # Create input tensor | |
| x = torch.randn(2, 4, 8) | |
| # Create BitMoE model with specified input and output dimensions | |
| model = BitMoE(8, 4, 2) | |
| # Forward pass through the model | |
| output = model(x) | |
| # Print the output | |
| print(output) | |
Xet Storage Details
- Size:
- 271 Bytes
- Xet hash:
- 0e970f12231d4b9c772d37de8114e5b43e1816e57407c59e894a049bf0a62769
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.