CreateFrom

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/compliant_node_builder.h>
  • Library files: libeager_style_graph_builder_base.so and libeager_style_graph_builder_base_static.a

Function Usage

Creates an attribute value from any type. It is an auxiliary function.

Prototype

1
2
template <typename T>
AttrValue CreateFrom(T &&t)

Parameters

Parameter

Input/Output

Description

t

Input

Input value.

Returns

Parameter

Type

Description

-

AttrValue

Created attribute value object.

Constraints

None