Skip to content

Commit 6fae46a

Browse files
committed
refine codes
1 parent d4c3fe9 commit 6fae46a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmake/external/anakin.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ExternalProject_Add(
4848
${EXTERNAL_PROJECT_LOG_ARGS}
4949
DEPENDS ${MKLML_PROJECT}
5050
GIT_REPOSITORY "https://github.com/PaddlePaddle/Anakin"
51-
GIT_TAG "9424277cf9ae180a14aff09560d3cd60a49c76d2"
51+
GIT_TAG "3c8554f4978628183566ab7dd6c1e7e66493c7cd"
5252
PREFIX ${ANAKIN_SOURCE_DIR}
5353
UPDATE_COMMAND ""
5454
CMAKE_ARGS ${CMAKE_ARGS_PREFIX}

paddle/scripts/paddle_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ function gen_capi_package() {
547547
rm -rf $install_prefix
548548
make DESTDIR="$install_prefix" install
549549
cd $install_prefix/usr/local
550-
ls | egrep -v "^Found.*item$" | xargs tar -cf ${PADDLE_ROOT}/build/paddle.tgz
550+
ls | egrep -v "^Found.*item$" | xargs tar -czf ${PADDLE_ROOT}/build/paddle.tgz
551551
fi
552552
}
553553

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4500,7 +4500,7 @@ def reshape(x, shape, actual_shape=None, act=None, inplace=True, name=None):
45004500
"""
45014501

45024502
if not (isinstance(shape, list) or isinstance(shape, tuple)):
4503-
raise ValueError("Input shape must be a python lsit or tuple.")
4503+
raise ValueError("Input shape must be a python list or tuple.")
45044504
inputs = {"X": x}
45054505
if isinstance(actual_shape, Variable):
45064506
inputs["Shape"] = actual_shape

0 commit comments

Comments
 (0)