Taichi: [Lang] [refactor] dt or dtype for data type?

Created on 7 Jun 2020  路  1Comment  路  Source: taichi-dev/taichi

Proposal

Currently we use dt for data type throughout the system. It may make sense to use dtype instead for consistency with numpy, TensorFlow and PyTorch.

Also, for simulation people dt may sounds like delta T (time step size).

I suggest that we deprecate dt and use dtype in future releases.

Inputs are welcome.

discussion good first issue python welcome contribution

Most helpful comment

+1 to dtype to remove ambiguity.

>All comments

+1 to dtype to remove ambiguity.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

g1n0st picture g1n0st  路  3Comments

archibate picture archibate  路  4Comments

yuanming-hu picture yuanming-hu  路  3Comments

yuanming-hu picture yuanming-hu  路  4Comments

jackalcooper picture jackalcooper  路  4Comments