Sha256: 555bd57d2fa872558f04f867257220141783695a9d44dc107366676f8a3563f7
Contents?: true
Size: 287 Bytes
Versions: 9
Compression:
Stored size: 287 Bytes
Contents
# require 'pry-byebug' module TensorStream # various monkey patches to FixNum types module MonkeyPatch def shape TensorStream.shape_eval(self) end def t(name = nil, dtype: nil) TensorStream.convert_to_tensor(self, name: name, dtype: dtype) end end end
Version data entries
9 entries across 9 versions & 1 rubygems