v0.15.0 -Some API clean up; Added support for ONNX model conversion.
- Package
graph:- Added
MatMul, with semantics similar tonumpy.matmul - Renamed
ExpandDimstoInsertAxesand addedExpandAxes: the oldExpandDimshad a slightly different
semantics than the usual (numpy)expand_dimsthat I hadn't realized. The name change reflect that difference,
and the newExpandAxesmatch the more common semantics ofexpand_dims. Added proper documentation.
BREAKING CHANGE: easy to convert, but breaking anyway: it requires attention.
We defined a deprecated 'ExpandedDims' that maps toInsertAxes, but it will be removed on the next release. - Graph/Node introspection: added
node.ConstantValue,node.IsConstantExpression.
- Added
- Package
context:- Fixed
ExecOnce: it was missing the variadic args for the computation graph. InspectVariableInScopeandInspectVariablerenamed toGetVariableandGetVariableByScopeAndName
respectively. Alias to the older names left for compatibility (and marked as deprecated), but they
will be removed in future versions.
- Fixed
- Package
tensors:- Added
Tensor.Summary(precision int)to pretty-print a summary of the values of a tensor, numpy-like.
- Added
See https://github.com/gomlx/onnx-gomlx for more on ONNX conversion to GoMLX.