Rate this Page

torch._assert#

torch._assert(condition, message)[source]#

A wrapper around Python’s assert which is symbolically traceable.