torch.get_float32_matmul_precision

torch.get_float32_matmul_precision() [source]

Returns the current value of float32 matrix multiplication precision. Refer to torch.set_float32_matmul_precision() documentation for more details.

Return type

str

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.get_float32_matmul_precision.html