Tensor

torch.Tensor
See theTensor companion class
object Tensor

Attributes

Companion
class
Source
Tensor.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tensor.type

Members list

Value members

Concrete methods

Constructs a tensor with no autograd history (also known as a “leaf tensor”) by copying data.

Constructs a tensor with no autograd history (also known as a “leaf tensor”) by copying data.

Attributes

Source
Tensor.scala
def fromNative[D <: DType](native: Tensor): Tensor[D]

Attributes

Source
Tensor.scala