Rate this Page
★ ★ ★ ★ ★

TensorDictBase.isreal#

TensorDictBase.isreal() → Self#

Returns a new tensordict with boolean elements representing if each element of input is real-valued or not.

Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.