评价此页

torch._assert#

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

Python assert 的一个包装器,可以进行符号跟踪。