diff --git a/develop/doc/_sources/api/v1/trainer_config_helpers/layers.rst.txt b/develop/doc/_sources/api/v1/trainer_config_helpers/layers.rst.txt index bbea823de4d870f8a4384b6a85ebb7e8182797fe..24389c2d8574dfda4bec9298776aa6b1aee51535 100644 --- a/develop/doc/_sources/api/v1/trainer_config_helpers/layers.rst.txt +++ b/develop/doc/_sources/api/v1/trainer_config_helpers/layers.rst.txt @@ -432,6 +432,12 @@ multi_binary_label_cross_entropy :members: multi_binary_label_cross_entropy :noindex: +mse_cost +--------- +.. automodule:: paddle.trainer_config_helpers.layers + :members: mse_cost + :noindex: + huber_cost ---------- .. automodule:: paddle.trainer_config_helpers.layers @@ -450,6 +456,12 @@ rank_cost :members: rank_cost :noindex: +sum_cost +--------- +.. automodule:: paddle.trainer_config_helpers.layers + :members: sum_cost + :noindex: + crf_layer ----------------- .. automodule:: paddle.trainer_config_helpers.layers @@ -486,12 +498,6 @@ hsigmoid :members: hsigmoid :noindex: -sum_cost ---------- -.. automodule:: paddle.trainer_config_helpers.layers - :members: sum_cost - :noindex: - Check Layer ============ diff --git a/develop/doc/_sources/getstarted/basic_usage/index_en.rst.txt b/develop/doc/_sources/getstarted/basic_usage/index_en.rst.txt index c10b897d4292d0c2b062b5c8e23466505afa408a..6775da20c2f51000f305b095d40abd27b8fa6c0e 100644 --- a/develop/doc/_sources/getstarted/basic_usage/index_en.rst.txt +++ b/develop/doc/_sources/getstarted/basic_usage/index_en.rst.txt @@ -49,7 +49,7 @@ To recover this relationship between ``X`` and ``Y``, we use a neural network wi x = data_layer(name='x', size=1) y = data_layer(name='y', size=1) y_predict = fc_layer(input=x, param_attr=ParamAttr(name='w'), size=1, act=LinearActivation(), bias_attr=ParamAttr(name='b')) - cost = regression_cost(input=y_predict, label=y) + cost = mse_cost(input=y_predict, label=y) outputs(cost) Some of the most fundamental usages of PaddlePaddle are demonstrated: diff --git a/develop/doc/api/v1/trainer_config_helpers/layers.html b/develop/doc/api/v1/trainer_config_helpers/layers.html index 7db4bdedb9222cc8d070e0402f155fc0efe609e7..93a906915aac6a3f4816a074ed3f34d03b930237 100644 --- a/develop/doc/api/v1/trainer_config_helpers/layers.html +++ b/develop/doc/api/v1/trainer_config_helpers/layers.html @@ -276,16 +276,17 @@
  • cross_entropy
  • cross_entropy_with_selfnorm
  • multi_binary_label_cross_entropy
  • +
  • mse_cost
  • huber_cost
  • lambda_cost
  • rank_cost
  • +
  • sum_cost
  • crf_layer
  • crf_decoding_layer
  • ctc_layer
  • warp_ctc_layer
  • nce_layer
  • hsigmoid
  • -
  • sum_cost
  • Check Layer
  • Check Layer