an>
<span class="sd">            obs: (np.ndarray) observations of actor, shape is (n_threads, dim) or (batch_size, dim)</span>
<span class="sd">            add_noise: (bool) whether to add noise</span>
<span class="sd">        Returns:</span>
<span class="sd">            actions: (torch.Tensor) actions taken by this actor, shape is (n_threads, dim) or (batch_size, dim)</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="n">obs</span> <span class="o">=</span> <span class="n">check