评价此页

torch._assert#

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

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