Removed shared_ptr from contract method, replaced with class optional_ptr which combines functionality of raw pointer and unique_ptr depending on how it is initialized.
bug fix (introduced by me earlier today)
Follows the suggestion from #34
Merge remote branch 'upstream/master'
make serialization of complex arrays efficient. Resolves #40
Merge remote branch 'upstream/master'
Fixed some missing includes.
Construct Tensor by Tensorview, compatibility between storage and
storageRef
Convert tensor to tensorview