Variable

lamp.autograd.Variable$
See theVariable companion trait
object Variable

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Variable.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(op: Op, value: STen)(implicit scope: Scope): Variable
def cat(inputs: Seq[Variable], dim: Long)(implicit scope: Scope): Variable

Concatenates the given tensor along the given dimension

Concatenates the given tensor along the given dimension

Attributes

def concatenateAddNewDim(inputs: Seq[Variable])(implicit scope: Scope): Variable
def sparseFromValueAndIndex(values: Variable, indices: STen, dim: Seq[Long])(implicit scope: Scope): Variable
def stack(inputs: Seq[Variable], dim: Int)(implicit scope: Scope): Variable

Concatenates the given tensor along a newly inserted dimension

Concatenates the given tensor along a newly inserted dimension

Attributes

def where(condition: STen, trueBranch: Variable, falseBranch: Variable)(implicit scope: Scope): Variable