Skip to contents

value constructor

Usage

val(data)

Arguments

data

Numeric value of the object

Represents a value node in the computational graph with automatic differentiation. This constructor function creates a new value object with the specified data.