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 = oneflow.ones(1).fill_(value)
      return tensor
  
file_path: fastNLP/fastNLP/core/metrics/backend/oneflow_backend/backend.py
imports: from typing import List
  import numpy
  from fastNLP.core.metrics.backend import Backend
  from fastNLP.core.metrics.utils import AggregateMethodError
  from fastNLP.core.utils import is_in_oneflow_dist
  from fastNLP.envs.imports import _NEED_IMPORT_ONEFLOW
  from fastNLP.core.drivers.oneflow_driver.dist_utils import fastnlp_oneflow_all_gather
label_desc: Use image node_id 3 for calling the OneflowBackend obj's underlying member method code with example usage: obj.create_tensor(value) and returns: tensor