infoFLOPs property

double get infoFLOPs

Implementation

double get infoFLOPs {
  final p = calloc<ffi.Double>();
  final success = C.mnn_runtime_manager_get_info(ptr, SessionInfoCode.FLOPS.value, p.cast());
  final flops = success ? p.value : 0.0;
  calloc.free(p);
  return flops;
}