(self, is_evaluating, stack_size=None)
return self.env_cls(env_args=args, lut_holder=self.lut_holder, is_evaluating=is_evaluating)
Args:
            is_evaluating (bool):       if True, no stack-size randomization is applied to the environment.

            stack_size (list):          Optional.
                                        list of n_seats ints. if provided: the environment will use these stack-
                                        sizes as the default starting point. If not provided, the env will use
                                        the standard stack sizes given by the EnvBuilder instance this is called in.

        Returns:
            PokerEnv subclass instance
Args:
            is_evaluating (bool):       if True, no stack-size randomization is applied to the environment.
Args : is_evaluating ( bool ) : if True no stack - size randomization is applied to the environment .
def get_new_env(self, is_evaluating, stack_size=None):
        """
        Args:
            is_evaluating (bool):       if True, no stack-size randomization is applied to the environment.

            stack_size (list):          Optional.
                                        list of n_seats ints. if provided: the environment will use these stack-
                                        sizes as the default starting point. If not provided, the env will use
                                        the standard stack sizes given by the EnvBuilder instance this is called in.

        Returns:
            PokerEnv subclass instance
        """

        args = copy.deepcopy(self.env_args)
        if stack_size is not None:
            assert isinstance(stack_size, list)
            args.starting_stack_sizes_list = copy.deepcopy(stack_size)

        return self.env_cls(env_args=args, lut_holder=self.lut_holder, is_evaluating=is_evaluating)
def get_new_env ( self , is_evaluating , stack_size = None ) : args = copy . deepcopy ( self . env_args ) if stack_size is not None : assert isinstance ( stack_size , list ) args . starting_stack_sizes_list = copy . deepcopy ( stack_size ) return self . env_cls ( env_args = args , lut_holder = self . lut_holder , is_evaluating = is_evaluating )