SetStorageFormat

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

Function Usage

Sets the format of the data to be stored.

Prototype

1
ge::Status SetStorageFormat(const ge::Format format)

Parameters

Parameter

Input/Output

Description

format

Input

Format of the data to be stored.

Returns

Parameter

Type

Description

-

ge::Status

Operation status. For details, see ge::graphStatus.

Constraints

None