Skip to content

πŸ› [Bug] index_put cases missingΒ #3798

@apbose

Description

@apbose

Index_put converter has the following cases missing

  1. Non consecutive indices
param( 
                test_name="nonconsecutive_caseOne", 
                source_tensor=torch.zeros([2,4,4,2], dtype=torch.float32), 
                indices_tensor=(None, torch.tensor([0, 0, 1, 1], dtype = torch.int64), None, torch.tensor([0, 0, 1, 1], dtype=torch.int64)), 
                value_tensor=torch.tensor([2, 3, 3, 4], dtype=torch.float32)
            ),
param(
                test_name="nonconsecutive_caseTwo",
                source_tensor=torch.zeros([2,4,4], dtype=torch.float32),
                indices_tensor=(torch.tensor([0, 0, 1], dtype = torch.int64), None, torch.tensor([0, 0, 1], dtype=torch.int64)),
                value_tensor=torch.tensor([2, 3, 3, 4], dtype=torch.float32),
            ),
  1. Dynamic shape support

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions