91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.21KB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2021-03-27
  • 語言: Matlab
  • 標簽: matlab??

資源簡介


用matlab 生成HDF5,具體的信息見博文

資源截圖

代碼片段和文件信息

function?[curr_dat_sz?curr_lab_sz]?=?store2hdf5(filename?data?labels?create?startloc?chunksz)??
??%?*data*?is?W*H*C*N?matrix?of?images?should?be?normalized?(e.g.?to?lie?between?0?and?1)?beforehand
??%?*label*?is?D*N?matrix?of?labels?(D?labels?per?sample)?
??%?*create*?[0/1]?specifies?whether?to?create?file?newly?or?to?append?to?previously?created?file?useful?to?store?information?in?batches?when?a?dataset?is?too?big?to?be?held?in?memory??(default:?1)
??%?*startloc*?(point?at?which?to?start?writing?data).?By?default?
??%?if?create=1?(create?mode)?startloc.data=[1?1?1?1]?and?startloc.lab=[1?1];?
??%?if?create=0?(append?mode)?startloc.data=[1?1?1?K+1]?and?startloc.lab?=?[1?K+1];?where?K?is?the?current?number?of?samples?stored?in?the?HDF
??%?chunksz?(used?only?in?create?mode)?specifies?number?of?samples?to?be?stored?per?chunk?(see?HDF5?documentation?on?chunking)?for?creating?HDF5?files?with?unbounded?maximum?size?-?TLDR;?higher?chunk?sizes?allow?faster?read-write?operati

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1956??2015-02-03?12:41??testHDF5.m
?????文件????????2954??2015-02-03?12:39??store2hdf5.m

評論

共有 條評論