Rate this Page
★ ★ ★ ★ ★

torch.Tensor.is_floating_point#

Tensor.is_floating_point() → bool#

Returns True if the data type of self is a floating point data type.