latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
tensorplay.get_default_dtype
- tensorplay.get_default_dtype() tensorplay.dtype[source]
Get the current default floating point
tensorplay.dtype.Example:
>>> tensorplay.get_default_dtype() # initial default for floating point is tensorplay.float32 tensorplay.float32 >>> tensorplay.set_default_dtype(tensorplay.float64) >>> tensorplay.get_default_dtype() # default is now changed to tensorplay.float64 tensorplay.float64
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

