GetExternalWeightPaths

Applicable Products

All processors

Header File/Library File

  • Header file: #include <ge/ge_graph_compile_summary.h>
  • Library file: libge_compiler.so

Function Usage

Obtains the path for flushing external weights to disk.

Prototype

1
Status GetExternalWeightPaths(std::vector<ExternalWeightDescPtr> &paths) const

Parameters

Parameter

Input/Output

Description

paths

Output

Path of the shared_ptr structure of ExternalWeightDesc.

Returns

Parameter

Type

Description

-

Status

  • SUCCESS: The API is called successfully.
  • FAILED: The API fails to be called.

Restrictions

None