File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ clip_grad_norm\_
1515    - **parameters ** (Iterable[paddle.Tensor] or paddle.Tensor) - 需要参与梯度裁剪的一个 Tensor 或者多个 Tensor。
1616    - **max_norm ** (float or int) - 梯度的最大范数。
1717    - **norm_type ** (float or int) - 所用 p-范数类型。可以是无穷范数的`inf`。
18-     - **error_if_nonfinite ** (bool) - 如果为 True,且如果来自: attr:`parameters`的梯度的总范数为`nan`、`inf`或 `-inf`,则抛出错误。
18+     - **error_if_nonfinite ** (bool) - 如果为 True,且如果来自  : attr: `parameters `  的梯度的总范数为  `nan `、  `inf ` 或  `-inf `,则抛出错误。
1919
2020返回
2121:::::::::::: 
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ Imikolov
1111参数
1212::::::::: 
1313
14-     - **data_file ** (str) - 保存数据的路径,如果参数 :attr: `download`设置为 True,可设置为 None。默认为 None。 
14+     - **data_file ** (str) - 保存数据的路径,如果参数 :attr: `download `  设置为 True,可设置为 None。默认为 None。
1515    - **data_type ** (str) - 'NGRAM'或'SEQ'。默认为'NGRAM'。
1616    - **window_size ** (int) - 'NGRAM'数据滑动窗口的大小。默认为-1。
1717    - **mode ** (str) - 'train' 'test' mode. Default 'train'。
1818    - **min_word_freq ** (int) - 构建词典的最小词频。默认为 50。
19-     - **download** (bool) - 如果 :attr:`data_file`未设置,是否自动下载数据集。默认为 True。 
19+     - **download ** (bool) - 如果 :attr: `data_file `  未设置,是否自动下载数据集。默认为 True。
2020
2121返回
2222::::::::: 
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ Movielens
1212参数
1313::::::::: 
1414
15-     - **data_file ** (str) - 保存压缩数据的路径,如果参数 :attr: `download`设置为 True,可设置为 None。默认为 None。 
15+     - **data_file ** (str) - 保存压缩数据的路径,如果参数 :attr: `download `  设置为 True,可设置为 None。默认为 None。
1616    - **mode ** (str) - 'train' 或 'test' 模式。默认为'train'。
1717    - **test_ratio ** (float) - 为测试集划分的比例。默认为 0.1。
1818    - **rand_seed ** (int) - 随机数种子。默认为 0。
19-     - **download** (bool) - 如果 :attr:`data_file`未设置,是否自动下载数据集。默认为 True。 
19+     - **download ** (bool) - 如果 :attr: `data_file `  未设置,是否自动下载数据集。默认为 True。
2020
2121返回值
2222::::::::: 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments