code: def validate_class_args(self, **kwargs):
      Schema(
          {
              "optimize_mode": self.choices(
                  "optimize_mode", "maximize", "minimize"
              ),
              Optional("trials_per_update"): self.range(
                  "trials_per_update", int, 0, 99999
              ),
              Optional("epochs_per_update"): self.range(
                  "epochs_per_update", int, 0, 99999
              ),
              Optional("minibatch_size"): self.range(
                  "minibatch_size", int, 0, 99999
              ),
              Optional("ent_coef"): float,
              Optional("lr"): float,
              Optional("vf_coef"): float,
              Optional("max_grad_norm"): float,
              Optional("gamma"): float,
              Optional("lam"): float,
              Optional("cliprange"): float,
          }
      ).validate(kwargs)
  
imports: import copy
  import logging
  import numpy
  from gym import spaces
  from schema import Schema, Optional
  import nni
  from nni import ClassArgsValidator
  from nni.tuner import Tuner
  from nni.utils import OptimizeMode, extract_scalar_reward
  from .model import Model
  from .util import set_global_seeds
  from .policy import build_lstm_policy
label_desc: Use image node_id 1 for calling the PPOClassArgsValidator obj's underlying member method code with example usage: obj.validate_class_args() without return types