metric_scope
Applicability
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Function Description
Defines the scope of a metric class. It defaults to global.
Prototype
1 | def metric_scope(self, scope_name, scope_value=0) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
scope_name |
Input |
Metric scope name. |
scope_value |
Input |
(Optional) Scope ID. The default value is 0. |
Returns
The profiler returns the current object. Chain calls are supported.
Parent topic: Serving Tuning