# SOME DESCRIPTIVE TITLE. # Copyright (C) 2021, PaddleNLP # This file is distributed under the same license as the PaddleNLP package. # FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PaddleNLP \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-03-18 21:31+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.0\n" #: ../source/paddlenlp.utils.tools.rst:2 msgid "tools" msgstr "" #: of paddlenlp.utils.tools.static_params_to_dygraph:1 msgid "Simple tool for convert static paramters to dygraph paramters dict." msgstr "" #: of paddlenlp.utils.tools.dygraph_params_to_static:3 #: paddlenlp.utils.tools.static_params_to_dygraph:3 msgid "**NOTE** The model must both support static graph and dygraph mode." msgstr "" #: of paddlenlp.utils.tools.compare_version #: paddlenlp.utils.tools.dygraph_params_to_static #: paddlenlp.utils.tools.static_params_to_dygraph msgid "参数" msgstr "" #: of paddlenlp.utils.tools.dygraph_params_to_static:5 #: paddlenlp.utils.tools.static_params_to_dygraph:5 msgid "the model of a neural network." msgstr "" #: of paddlenlp.utils.tools.static_params_to_dygraph:7 msgid "" "path of which locate the saved paramters in static mode. Usualy load by " "`paddle.static.load_program_state`." msgstr "" #: of paddlenlp.utils.tools.compare_version #: paddlenlp.utils.tools.dygraph_params_to_static #: paddlenlp.utils.tools.static_params_to_dygraph msgid "返回" msgstr "" #: of paddlenlp.utils.tools.dygraph_params_to_static:10 #: paddlenlp.utils.tools.static_params_to_dygraph:11 msgid "a state dict the same as the dygraph mode." msgstr "" #: of paddlenlp.utils.tools.compare_version #: paddlenlp.utils.tools.dygraph_params_to_static #: paddlenlp.utils.tools.static_params_to_dygraph msgid "返回类型" msgstr "" #: of paddlenlp.utils.tools.dygraph_params_to_static:1 msgid "Simple tool for convert dygraph paramters to static paramters dict." msgstr "" #: of paddlenlp.utils.tools.dygraph_params_to_static:7 msgid "path of which locate the saved paramters in static mode." msgstr "" #: of paddlenlp.utils.tools.TimeCostAverage:1 msgid "基类::class:`object`" msgstr "" #: of paddlenlp.utils.tools.TimeCostAverage:1 msgid "" "Simple tool for calcluating time average cost in the process of training " "and inferencing." msgstr "" #: of paddlenlp.utils.tools.TimeCostAverage.reset:1 msgid "Reset the recoder state, and reset the `cnt` to zero." msgstr "" #: of paddlenlp.utils.tools.TimeCostAverage.record:1 msgid "Recoding the time cost in current step and accumulating the `cnt`." msgstr "" #: of paddlenlp.utils.tools.TimeCostAverage.get_average:1 msgid "Returning the average time cost after the start of training." msgstr "" #: of paddlenlp.utils.tools.get_env_device:1 msgid "Return the device name of running environment." msgstr "" #: of paddlenlp.utils.tools.compare_version:1 msgid "" "The first version string needed to be compared. The format of version " "string should be as follow : \"xxx.yyy.zzz\"." msgstr "" #: of paddlenlp.utils.tools.compare_version:4 msgid "" "The second version string needed to be compared. The format of version " "string should be as follow : \"xxx.yyy.zzz\"." msgstr "" #: of paddlenlp.utils.tools.compare_version:8 msgid "" "The result of comparasion. 1 means version > pair_version; 0 means " "version = pair_version; -1 means version < pair_version." msgstr "" #: of paddlenlp.utils.tools.compare_version:10 msgid "The result of comparasion. 1 means version > pair_version; 0 means" msgstr "" #: of paddlenlp.utils.tools.compare_version:11 msgid "version = pair_version; -1 means version < pair_version." msgstr "" #: of paddlenlp.utils.tools.compare_version:15 msgid "实际案例" msgstr ""