valueOrNull
Returns a single tensor value of unit dimension if tensor shape equals to 1.
Return
a nullable value of a potentially scalar tensor.
Returns a single tensor value of unit dimension if tensor shape equals to 1.
a nullable value of a potentially scalar tensor.