Tensor constructor

Tensor(
  1. Pointer<TfLiteTensor> _tensor
)

Creates a tensor wrapper around a native tensor pointer.

Implementation

Tensor(this._tensor) {
  ArgumentError.checkNotNull(_tensor);
}