package modelkit

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

modelkit-0.4.1.tbz
sha256=7a7af032790248b5d1d5392bbf29f8c8163df2e7f50ab5801cdaed5fd2c543e1
sha512=185bc224afc9b141d54b89a564694438a268429ba9c58dd3a402da31cb29f3e1eefd3643a76766ce9170c5f6c927f307873d51e4e3ce08aece00884cebbe0e2a

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