提交 e4327a7c 编写于 作者: Q qiaolongfei

add CMakeLists.txt

上级 db92e3c8
add_test(NAME layer_test
COMMAND ${PROJ_ROOT}/paddle/.set_python_path.sh -d ${PROJ_ROOT}/python/
${PYTHON_EXECUTABLE} ${PROJ_ROOT}/python/paddle/v2/tests/layer_test.py
WORKING_DIRECTORY ${PROJ_ROOT}/python/paddle)
......@@ -23,7 +23,7 @@ from paddle.trainer_config_helpers.config_parser_utils import \
parse_network_config as parse_network
class CostLyaerTest(unittest.TestCase):
class CostLayerTest(unittest.TestCase):
def test_cost_layer(self):
pixel = layer.data(name='pixel', type=data_type.dense_vector(784))
label = layer.data(name='label', type=data_type.integer_value(10))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册