LayerData constructor
LayerData({
- List<
int> ? data, - String? layerName,
- LayerDimension? layerDimension,
- LayerDataType? dataType,
- LayerDataOrder? dataOrder,
Implementation
factory LayerData({
$core.List<$core.int>? data,
$core.String? layerName,
LayerDimension? layerDimension,
LayerDataType? dataType,
LayerDataOrder? dataOrder,
}) {
final $result = create();
if (data != null) {
$result.data = data;
}
if (layerName != null) {
$result.layerName = layerName;
}
if (layerDimension != null) {
$result.layerDimension = layerDimension;
}
if (dataType != null) {
$result.dataType = dataType;
}
if (dataOrder != null) {
$result.dataOrder = dataOrder;
}
return $result;
}