InferRequest constructor

InferRequest({
  1. String? name,
  2. FlatTensors? inputTensors,
  3. Struct? extra,
})

Implementation

factory InferRequest({
  $core.String? name,
  FlatTensors? inputTensors,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (inputTensors != null) {
    $result.inputTensors = inputTensors;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}