Skip to content

Commit

Permalink
Fix L0_implicit_state (#6427) (#6442)
Browse files Browse the repository at this point in the history
Co-authored-by: Iman Tabrizian <iman.tabrizian@gmail.com>
  • Loading branch information
jbkyang-nvi and Tabrizian committed Oct 17, 2023
1 parent 3d9cd82 commit 2172606
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qa/common/gen_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

from typing import List

# Common utilities for model generation scripts
import numpy as np

Expand Down Expand Up @@ -154,5 +156,5 @@ def np_to_torch_dtype(np_dtype):
elif np_dtype == np.float64:
return torch.double
elif np_dtype == np_dtype_string:
return None # Not supported in Torch
return List[str]
return None

0 comments on commit 2172606

Please sign in to comment.