set_fusion_buildcfg

Description

Sets the operator build options in the scenario where operators can be fused for computation.

Prototype

def set_fusion_buildcfg(op_type, config)

Parameters

Parameter

Type

Description

op_type

string

Operator type.

config

dict

Build configuration.

For details about the value range of this parameter for DSL operators, see the parameter description in build.

Returns

None

Restrictions

This API applies only to operators developed in DSL mode.

Example

tbe.common.register.set_fusion_buildcfg("abs", {"bool_storage_as_1bit": False})