docstr: 创建 tensor，并且填入 value 作为值
  
  :param value: 创建张量的初始值
docstr_tok: ["\u521b\u5efa","tensor\uff0c\u5e76\u4e14\u586b\u5165","value","\u4f5c\u4e3a\u503c",":","param","value",":","\u521b\u5efa\u5f20\u91cf\u7684\u521d\u59cb\u503c"]
code: def create_tensor(self, value: float):
      """
      创建 tensor，并且填入 value 作为值
  
      :param value: 创建张量的初始值
      """
      tensor = paddle.ones((1,)).fill_(value)
      return tensor
  
file_path: fastNLP/fastNLP/core/metrics/backend/paddle_backend/backend.py
imports: import os
  from typing import List, Any
  import numpy
  from fastNLP.core.metrics.backend import Backend
  from fastNLP.core.utils.paddle_utils import paddle_to, _convert_data_device, is_in_paddle_dist
  from fastNLP.core.metrics.utils import AggregateMethodError
  from fastNLP.core.drivers.paddle_driver.dist_utils import fastnlp_paddle_all_gather
  from fastNLP.envs.imports import _NEED_IMPORT_PADDLE
label_desc: Use image node_id 3 for calling the PaddleBackend obj's underlying member method code with example usage: obj.create_tensor(value) and returns: tensor