write_tensor


Description:

[ Version ( since = "0.4.0" ) ]
public int64 write_tensor (Tensor tensor) throws Error

Parameters:

this

A OutputStream.

tensor

A Tensor to be written.

Returns:

The number of written bytes on success, -1 on error.