link

Applicability

For details about the mapping between AI Processors and Ascend products, see Ascend Product Form Description.

Product

Supported

Atlas A3 training product/Atlas A3 inference product

x

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

Atlas training product

x

For Atlas A2 training product/Atlas A2 inference product, only Atlas 800I A2 inference products are supported.

For Atlas inference product, only the Atlas 300I Duo inference card and Atlas 800 inference server (model 3000) are supported.

Function Description

Records the association between different resources. Different modules assign unique IDs to identical requests in real-world usage, and associate the IDs of two systems.

Prototype

1
def link(self, from_rid, to_rid)

Parameters

Parameter

Input/Output

Description

from_rid

Input

Resource ID.

to_rid

Input

Resource ID.

Returns

None.