FrameworkType

Description

Sets the framework type of the original model.

Prototype

1
OpRegistrationData &FrameworkType(const domi::FrameworkType &fmk_type)

Parameters

Parameter

Input/Output

Description

fmk_type

Input

Framework type.

  • CAFFE
  • TENSORFLOW
  • ONNX

The enum values of FrameworkType are defined as follows:

1
2
3
4
5
6
7
8
enum FrameworkType {
CAFFE = 0,
MINDSPORE = 1,
TENSORFLOW = 3,
ANDROID_NN,
ONNX,
FRAMEWORK_RESERVED,
};