FilesLast commitLast update
12 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
12 days ago
README

Snapshot

English | 简体中文

Product Support Status

Product Supported
Ascend 950PR&950DT products √
Atlas A3 products √
Atlas A2 products √
Atlas 200I/500 A2 inference products √
Atlas inference products √
Atlas training products √

Function Description

  • Operator function: returns a copy of the input tensor. The output has the same shape, data type, and content as the input.

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input Input tensor to be copied. FLOAT, FLOAT16, INT8, INT16, UINT16, UINT8, INT32, INT64, UINT32, UINT64, BOOL, DOUBLE, STRING ND
y Output Copy of the input tensor x. Same as x ND

Constraint Description

  • The shape, data type, and element content of x and y are the same.
  • For the supported data types, refer to the IR definition in snapshot_proto.h.

Invocation Description

Invocation Method Invocation Sample Description
Graph-mode invocation test_geir_snapshot Invokes the Snapshot operator by building a graph through the operator IR.