EsCreateVectorUInt32

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Header File/Library File

  • Header file: #include <ge/esb_funcs.h>
  • Library files: libeager_style_graph_builder_base.so and libeager_style_graph_builder_base_static.a

Function Usage

Creates a vector constant of the uint32 type.

Prototype

1
EsCTensorHolder *EsCreateVectorUInt32(EsCGraphBuilder *graph, const uint32_t *value, int64_t dim)

Parameters

Parameter

Input/Output

Description

graph

Input

Pointer to the graph builder.

value

Input

Pointer to the vector data.

dim

Input

Vector length.

Returns

Parameter

Type

Description

-

EsCTensorHolder *

Pointer to the created tensor holder on success, or nullptr on failure.

Constraints

None