Skip to content

Ask a question of nn.SplitTable? #1312

Open
@xtanitfy

Description

@xtanitfy

The code as follow:
mlp = nn.SplitTable(1, 2)
pred = mlp:forward(torch.randn(2, 4, 3))//will get four 2*3 matrix
for i, k in ipairs(pred) do print(i, k) end

I haven't figured out why the result that is.Ask for your help,thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions