Constant: Constant Op

Description Usage Arguments Value

Description

Easy-to-use wrapper for getConstant. Returns a constant tensor.

Usage

1
Constant(val, dtype = "float32", shape = length(val), name = NULL)

Arguments

val

Vector for value of Constant node

dtype

Datatype of val

shape

Vector indicating dimensions of val

name

Optional custom name for node. If not specified, a random name is generated

Value

Unique name of node


wazeerzulfikar/rtensorflow documentation built on May 14, 2019, 9:24 p.m.