Variable

object Variable
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

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

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

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