提交 e22af8f7 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fixes in doc

上级 76bbf2a8
...@@ -167,7 +167,7 @@ yourself. Here is some code that will help you. ...@@ -167,7 +167,7 @@ yourself. Here is some code that will help you.
make FC=gfortran make FC=gfortran
sudo make PREFIX=/usr/local/ install sudo make PREFIX=/usr/local/ install
# Tell Theano to use OpenBLAS. # Tell Theano to use OpenBLAS.
# This work only for the current user. # This works only for the current user.
# Each Theano user on that computer should run that line. # Each Theano user on that computer should run that line.
echo -e "\n[blas]\nldflags = -lopenblas\n" >> ~/.theanorc echo -e "\n[blas]\nldflags = -lopenblas\n" >> ~/.theanorc
......
...@@ -71,9 +71,9 @@ def upcast(dtype, *dtypes): ...@@ -71,9 +71,9 @@ def upcast(dtype, *dtypes):
def get_scalar_type(dtype): def get_scalar_type(dtype):
""" """
Return an Scalar(dtype) object. Return a Scalar(dtype) object.
This cache objects to save allocation and run time. This caches objects to save allocation and run time.
""" """
if dtype not in get_scalar_type.cache: if dtype not in get_scalar_type.cache:
get_scalar_type.cache[dtype] = Scalar(dtype=dtype) get_scalar_type.cache[dtype] = Scalar(dtype=dtype)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论