LoadNumpy

Usage

use LoadNumpy;

or

import LoadNumpy;
class NoRankArray
class ArrClass : NoRankArray
param rank : int
var _domain : domain(rank, int)
var data : [_domain] real
proc readData(param rank: int, fr, shape: rank*int, dtype: bytes) : owned(NoRankArray)
proc readShape(fr)
proc loadNumpyArray(path: string) : owned(NoRankArray)
proc main()