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 May 28, 2019, 7:15 p.m.