dataflow.Framework

Applicable Products

Product

Supported

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Function Description

Sets the framework of the original network model.

Prototype

N/A

Parameters

The enumerated values are as follows:

  • Framework.TENSORFLOW
  • Framework.ONNX
  • Framework.MINDSPORE

Returns

None

Examples

1
2
3
import dataflow as df
framework = df.Framework.TENSORFLOW
pp1 = df.GraphProcessPoint(framework,...)

Constraints

None