Initializer-class: Initializer

Description Usage Format Value Usage Public Methods Author(s)

Description

Initializer for a tensor

Usage

1
2
3
4
5
6
7
8
9

Format

An object of class R6ClassGenerator of length 24.

Value

Object of class relevant to defined backend

Usage

1
2
3
4
z = Zeros$new(shape = c(4,4))
o = Ones$new(shape = c(4,4))
c = Constant$new(shape = c(4,4), constant = 2)
r = RandomNormal$new(shape = c(4,4))

Public Methods

compute()

Evaluate Initializer

Author(s)

Charles Determan Jr.


cdeterman/lazytensor documentation built on Dec. 23, 2017, 3:36 p.m.