自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 test.f90

【代码】test.f90。

2023-12-26 21:28:46 387 1

原创 test.f90

【代码】test.f90。

2023-12-26 21:25:25 385 1

原创 我的收藏文章

test

2022-06-06 22:53:08 62

原创 12bit存储

test

2022-06-06 22:51:23 220

原创 numpy tofile

用法:numpy.fromfile(file, dtype=float, count=- 1, sep='', offset=0, *, like=None)从文本或二进制文件中的数据构造一个数组。一种读取具有已知数据类型的二进制数据以及解析简单格式化的文本文件的高效方法。使用 tofile 方法写入的数据可以使用此函数读取。参数:file: 文件或 str 或路径打开文件对象或文件名。dtype: 数据类型返回数组的数据类型。对于二进制文件,它用于确定文件中项目的大小和字节顺序。支持

2022-05-29 22:41:26 2495

原创 list or array to file

import arrayimport jsonimport binasciifrom ctypes import create_string_bufferimport structimport numpy as npfrom public_function import print_cost_time# arr = np.random.randint(1024 ** 2, size=(1280, 1280))# arr_list = arr.tolist()# with open(.

2022-05-29 22:38:15 121

原创 nvidia_smi_log

import jsonimport xml.dom.minidomtxt = """\<?xml version="1.0" encoding="UTF-8" ?> <nvidia_smi_log> <timestamp>Thu Aug 29 13:45:26 2019</timestamp> <driver_version>387.34</driver_version> <attached_gpus&gt.

2022-02-06 16:28:39 272 1

原创 Bus-Id

import retxt = '''+-----------------------------------------------------------------------------+| NVIDIA-SMI 390.77 Driver Version: 390.77 ||-------------------------------+----------------------+------------------.

2022-02-06 15:42:33 210

原创 合并junitxml

import osimport xml.etree.ElementTree as ETfinal_dir = '.final_001'final_file = 'final.xml'suite_node_list = []run_errors=0run_failures=0run_skipped=0run_tests=0run_time=0for file in os.listdir(final_dir): file_path = os.path.relpath(os..

2021-11-13 22:21:06 430

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除