GetOwnerBuilder

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

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

Obtains the owner builder of the tensor corresponding to the current TensorLike.

Prototype

1
EsCGraphBuilder *GetOwnerBuilder() const

Parameters

None

Returns

Parameter

Type

Description

-

EsCGraphBuilder *

Pointer to the EsCGraphBuilder.

Restrictions

None

Example

1
2
EsTensorLike tensor_like(tensor);
auto *owner_builder = tensor_like.GetOwnerBuilder();