Skip to content

Commit

Permalink
jnp.float16 -> torch.float16
Browse files Browse the repository at this point in the history
  • Loading branch information
will-cromar committed Apr 5, 2024
1 parent 40ae313 commit b08a9ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions experimental/torch_xla2/torch_xla2/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def t2j_dtype(dtype):

def j2t_dtype(dtype):
return {
jnp.float16: torch.float16,
jnp.bfloat16: torch.bfloat16,
jnp.double: torch.double,
jnp.float32: torch.float32,
Expand Down

0 comments on commit b08a9ad

Please sign in to comment.