ResolveBuilder

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

Function Usage

Return nullptr if no parameter is specified or obtains the owner builder from the tensor object or vector.

Prototype

  • Return nullptr if no parameter is specified.
    1
    EsCGraphBuilder *ResolveBuilder()
    
  • Obtain the owner builder from the tensor object or vector.
    EsCGraphBuilder *ResolveBuilder(const T& first, const Ts&... rest)

Parameters

Parameter

Input/Output

Description

first

Input

Tensor object or vector.

rest

Input

Remaining tensor objects or vectors.

Returns

Parameter

Type

Description

-

EsCGraphBuilder *

  • Prototype 1: nullptr.
  • Prototype 2: pointer to the builder at layer C.

Constraints

None