package modelkit

  1. Overview
  2. Docs
Portable classical machine learning workflows for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

modelkit-0.5.0.tbz
sha256=1fe8fa7c7f904dd098a21a2ca30fd69230750b8cf8aa2ae481b97a16531b47b4
sha512=c946cd1ac014726f4d21791e14d806a205680e6edfa2f80ed8d3680f24f48ca3c5a2f89d5afa68c11eac4053ead448b6381fb3d06dc8ff129097af6c69b262fb

doc/modelkit/Modelkit/Conversion_report/index.html

Module Modelkit.Conversion_report

Numeric payload allocation performed by one adapter conversion.

Byte counts exclude OCaml headers, allocator metadata, names, and the adapter result record. temporary_payload_bytes counts full-size staging payloads discarded after admission; retained_payload_bytes counts the immutable payload retained by ModelKit.

type t
val create : source:string -> source_dtype:string -> source_shape:int array -> source_contiguous:bool option -> temporary_payload_bytes:int64 -> retained_payload_bytes:int64 -> (t, Error.t) result
val source : t -> string
val source_dtype : t -> string
val source_shape : t -> int array
val source_contiguous : t -> bool option
val temporary_payload_bytes : t -> int64
val retained_payload_bytes : t -> int64
val allocated_payload_bytes : t -> int64