module Bottle::InputOutput

Direct including types

Defined in:

arrayops/io.cr

Constant Summary

TYPE_HASH = {UInt8 => "|u1", UInt16 => "<u2", UInt32 => "<u4", Int8 => "|i1", Int16 => "<i2", Int32 => "<i4", Float32 => "<f4", Float64 => "<f8"}
UNTYPE_HASH = {"|u1" => UInt8, "<u2" => UInt16, "<u4" => UInt32, "|i1" => Int8, "<i2" => Int16, "<i4" => Int32, "<f4" => Float32, "<f8" => Float64}

Instance Method Summary

Instance Method Detail

def save(filename, tensor) #

[View source]
def totalsize(shape) #

[View source]