Skip to contents

Convert R value to Constant.

Usage

r_to_constant(value, dtype = NULL, shape, ...)

Arguments

value

(any)
The value to convert.

dtype

(character(1))
The dtype of the constant.

shape

(integer())
The shape of the constant.

...

(any) Additional arguments.