| शीर्षक | pytorch pytorch (in torch.lstm_cell) torch 2.6.0 Segmentation Fault |
|---|
| विवरण | # Bug
Segmentation Fault in torch.lstm_cell with Zero-Batch Inputs
# To Reproduce
```
import torch
inp = torch.full((0, 8), 0, dtype=torch.float)
hx = torch.full((0, 9), 0, dtype=torch.float)
cx = torch.full((0, 9), 0, dtype=torch.float)
w_ih = torch.full((1, 8), 1.251e+12, dtype=torch.float)
w_hh = torch.full((1, 9), 1.4013e-45, dtype=torch.float)
b_ih = None
b_hh = None
torch.lstm_cell(inp, (hx, cx), w_ih, w_hh, b_ih, b_hh)
``` |
|---|
| स्रोत | ⚠️ https://github.com/pytorch/pytorch/issues/149626 |
|---|
| उपयोगकर्ता | Default436352 (UID 81891) |
|---|
| सबमिशन | 20/03/2025 04:26 PM (1 वर्ष पहले) |
|---|
| संयम | 30/03/2025 07:42 PM (10 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 302050 [PyTorch 2.6.0 torch.lstm_cell बफ़र ओवरफ़्लो] |
|---|
| अंक | 20 |
|---|