code: def __init__(self, model_space: ModelSpace, args: Any, **kwargs: Any):
      self.profiler = FlopsParamsProfiler(model_space, args, **kwargs)
      self.expression = self.profiler.flops_result.flops
  
imports: from __future__ import annotations
  import logging
  from dataclasses import dataclass, fields
  from functools import partial, reduce
  from typing import Any, NamedTuple, Callable, cast
  from torch import nn
  import nni.nas.nn.pytorch
  from nni.mutable import Sample, Mutable, MutableExpression
  from nni.nas.nn.pytorch import ModelSpace
  from nni.nas.profiler import Profiler, ExpressionProfiler
  from .utils import MutableShape, ShapeTensor, submodule_input_output_shapes, standardize_arguments, argument_in_spec, concat_name
  from .utils._attrs import tuple_n_t, _getattr
label_desc: Use image node_id 1 to create a new FlopsProfiler object from inherited base classes: ExpressionProfiler with example: obj = FlopsProfiler(model_space, args)