OutputTensorInfo constructor

OutputTensorInfo(
  1. List<int> shape,
  2. Float32List buffer
)

Creates an OutputTensorInfo with the given shape and buffer.

The shape describes the tensor dimensions and buffer provides direct access to the tensor's underlying Float32 data.

Implementation

OutputTensorInfo(this.shape, this.buffer);