摘要:
import argparse import torch #核心就是argparse类生成参数包parser实例 parser = argparse.ArgumentParser(description='PyTorch Example') #通过这个类实例的方法如add_argument添加参数属 阅读全文
posted @ 2020-06-26 18:01
Parallax
阅读(349)
评论(0)
推荐(0)
摘要:
https://www.cnblogs.com/biglucky/p/4305131.html 固定内存pinned memory,或者不可分页内存,它的一个重要特点是操作系统将不会对这块内存分页并交换到磁盘上,从而保证了内存始终驻留在物理内存中.也正因为如此,操作系统能够安全地使某个应用程序访问该 阅读全文
posted @ 2020-06-26 17:38
Parallax
阅读(475)
评论(0)
推荐(0)

浙公网安备 33010602011771号