code: def __init__(
      self, state_dim, q_network, imitator_network, bcq_drop_threshold
  ) -> None:
      super().__init__()
      assert state_dim > 0, "state_dim must be > 0, got {}".format(
          state_dim
      )
      self.state_dim = state_dim
      self.q_network = q_network
      self.imitator_network = imitator_network
      self.invalid_action_penalty = -1e10
      self.bcq_drop_threshold = bcq_drop_threshold
  
file_path: ReAgent/reagent/models/bcq.py
imports: import torch
  from reagent.core import types
  from reagent.models.base import ModelBase
label_desc: Use image node_id 1 to create a new BatchConstrainedDQN object from inherited base classes: ModelBase with example: obj = BatchConstrainedDQN(state_dim, q_network, imitator_network, bcq_drop_threshold)