提交 da28a260 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Brandon T. Willard

Remove explicit `debugprint` import from README

上级 fcd46689
...@@ -27,7 +27,6 @@ Getting started ...@@ -27,7 +27,6 @@ Getting started
import aesara import aesara
from aesara import tensor as aet from aesara import tensor as aet
from aesara.printing import debugprint
# Declare two symbolic floating-point scalars # Declare two symbolic floating-point scalars
a = aet.dscalar("a") a = aet.dscalar("a")
...@@ -58,7 +57,7 @@ Getting started ...@@ -58,7 +57,7 @@ Getting started
d = a/a + (M + a).dot(v) d = a/a + (M + a).dot(v)
debugprint(d) aesara.dprint(d)
# Elemwise{add,no_inplace} [id A] '' # Elemwise{add,no_inplace} [id A] ''
# |InplaceDimShuffle{x} [id B] '' # |InplaceDimShuffle{x} [id B] ''
# | |Elemwise{true_div,no_inplace} [id C] '' # | |Elemwise{true_div,no_inplace} [id C] ''
...@@ -75,7 +74,7 @@ Getting started ...@@ -75,7 +74,7 @@ Getting started
# `a/a` -> `1` and the dot product is replaced with a BLAS function # `a/a` -> `1` and the dot product is replaced with a BLAS function
# (i.e. CGemv) # (i.e. CGemv)
debugprint(f_d) aesara.dprint(f_d)
# Elemwise{Add}[(0, 1)] [id A] '' 5 # Elemwise{Add}[(0, 1)] [id A] '' 5
# |TensorConstant{(1,) of 1.0} [id B] # |TensorConstant{(1,) of 1.0} [id B]
# |CGemv{inplace} [id C] '' 4 # |CGemv{inplace} [id C] '' 4
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论