aboutsummaryrefslogtreecommitdiff
path: root/nerv/io/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nerv/io/init.lua')
-rw-r--r--nerv/io/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/nerv/io/init.lua b/nerv/io/init.lua
index 4ebbabf..f0a3d52 100644
--- a/nerv/io/init.lua
+++ b/nerv/io/init.lua
@@ -11,7 +11,7 @@
-- * `write(handle)`: define how to write to a file handle
-- * `get_info()`: return a table of chunk metadata
-- * `set_info(info)`: set the metadata of the chunk
--- * for more information, please refer to `nerv.MatrixParam` as an example
+-- * for more information, please refer to `nerv.MatrixParam` as an example.
-- @type nerv.ChunkFile
function nerv.ChunkFile:write_chunkdata(metadata, writer)
@@ -80,7 +80,7 @@ function DataReader:__init(global_conf, reader_conf)
nerv.error_method_not_implemented()
end
---- Get a data block from the reader
+--- Get a data block from the reader.
-- @return a table which maps data slot identifiers to data matrices. A data
-- slot identifier is a unique string naming one slot of data. Each identifier
-- maps to a matrix containing the data. (`{<slot_id> = <data matrix>, ...}`) It