torch
    Preparing search index...

    Class Tensor

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • data: NestedNumberArray
      • options: { requires_grad?: boolean } = {}
      • internal_options: { operation?: Operation; shape?: number[] } = {}

      Returns Tensor

    Properties

    _shape: number[]
    data: number[]
    grad: Tensor = null
    operation: Operation = null
    requires_grad: boolean

    Accessors

    Methods