# View Source Nx.Streamprotocol(Nx v0.5.2)

The protocol for streaming data in and out of backends.

# Link to this section Summary

## Types

All the types that implement this protocol.

## Functions

Returns the output of the stream.

Sends a tensor.

# t()

View Source
@type t() :: term()

All the types that implement this protocol.

# done(stream)

View Source

Returns the output of the stream.

It may be a tensor, a tuple of tensors, or a map of tensors.

View Source