Raw Data Constant
Description
Creates a constant node in the graph that outputs a tensor filled with a single repeated value. The scalar value is defined by raw_data, the output dimensions by shape, and the element type by dtype.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Parameters : cluster
raw_data : array, represents the constant value that will populate the entire output tensor..
shape : array, defines the dimensions of the output tensor.
dtype : enum, specifies the type of the constant (e.g., FLOAT, INT32, DOUBLE).
name (optional) : string, name of the node.
Documentation illustration (illustration unavailable in the archive).
Output parameters
Graph out : object, ONNX model architecture.
Example
All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Deep Learning library to run it).
