Skip to content

[docs] Tensor.new is not documented #3920

@shekhovt

Description

@shekhovt

Docs master has in http://pytorch.org/docs/master/tensors.html:

new(*args, **kwargs)
Constructs a new tensor of the same data type.

Missing documentation of arguments. From some other pages it can be figured out that new is preserving the storage and even the device number and can take a size argument. Would be good to have complete specs.

Metadata

Metadata

Assignees

Labels

module: docsRelated to our documentation, both in docs/ and docblockstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions