FlatTensors.fromBuffer constructor

FlatTensors.fromBuffer(
  1. List<int> i, [
  2. ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY
])

Implementation

factory FlatTensors.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);