Row 3900
Content Data
This page contains data entry 3900 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.
So, I have a tensor of size batch size 7 38*38, I want to select one value out of it, so naturally I’m thinking about multiplying it by learnable weight where only one element is 1 and the rest is 0 and then just collapse tensor with a sum(). I kinda hoped just using learnable parameter and sigmoid would solve the problem, but it didn’t.
Is there a way to do it?
| Field | Value |
|---|---|
| text | So, I have a tensor of size batch size 7 38*38, I want to select one value out of it, so naturally I’m thinking about multiplying it by learnable weight where only one element is 1 and the rest is 0 and then just collapse tensor with a sum(). I kinda hoped just using learnable parameter and sigmoid would solve the problem, but it didn’t. Is there a way to do it? |
| label | r/pytorch |
| dataType | post |
| communityName | r/pytorch |
| datetime | 2024-03-28 |
| username_encoded | Z0FBQUFBQm5LakwxeGdLekJ2cmwza1N6eHhaSUZIZ1NBXzZNYVJxVWlqQTVzY1ZrNEhkTG15Nk80Z3U3MVF6eEp3VHR2U3Y0OG9lZjZPUlZudFg4czREM1MzWWpuV3M0UXc9PQ== |
| url_encoded | Z0FBQUFBQm5Lak9FTm1qOEUyUDRGWDd2N2I3R1JpQVZZa2xZVEhrVHFHcDRmUWFYZmhnS3VDdk9ITDNMT1BrT3pUcWh0Um1yVE14OHh4X0liVHBnd3NQZlNSUG5oaTFOMmdFdzVrX1FVRTBqTEdCSzFjbEQ0ZXF1MUJHaS0wWDE5bGsySVJ6b1g5cXMycy1NZHBfOHNiNGMyRkRhR21IV2dkLUtWc3VGa1lYYnVaU3dGT0o0V0NJS3BJbjlpUjdLNy1mUWk5bzhzY1N3 |
Raw Record
{
"text": "So, I have a tensor of size batch size 7 38*38, I want to select one value out of it, so naturally I’m thinking about multiplying it by learnable weight where only one element is 1 and the rest is 0 and then just collapse tensor with a sum(). I kinda hoped just using learnable parameter and sigmoid would solve the problem, but it didn’t.\n\nIs there a way to do it?",
"label": "r/pytorch",
"dataType": "post",
"communityName": "r/pytorch",
"datetime": "2024-03-28",
"username_encoded": "Z0FBQUFBQm5LakwxeGdLekJ2cmwza1N6eHhaSUZIZ1NBXzZNYVJxVWlqQTVzY1ZrNEhkTG15Nk80Z3U3MVF6eEp3VHR2U3Y0OG9lZjZPUlZudFg4czREM1MzWWpuV3M0UXc9PQ==",
"url_encoded": "Z0FBQUFBQm5Lak9FTm1qOEUyUDRGWDd2N2I3R1JpQVZZa2xZVEhrVHFHcDRmUWFYZmhnS3VDdk9ITDNMT1BrT3pUcWh0Um1yVE14OHh4X0liVHBnd3NQZlNSUG5oaTFOMmdFdzVrX1FVRTBqTEdCSzFjbEQ0ZXF1MUJHaS0wWDE5bGsySVJ6b1g5cXMycy1NZHBfOHNiNGMyRkRhR21IV2dkLUtWc3VGa1lYYnVaU3dGT0o0V0NJS3BJbjlpUjdLNy1mUWk5bzhzY1N3"
}
Entry Information
- Entry ID: 3900
- Repository: Axioma AXP
- Dataset: arrmlet/reddit_dataset_36
- Total Entries: 100,000