package caisar

  1. Overview
  2. Docs
type t = {
  1. elem_type : int option;
    (*

    This field MUST NOT have the value of UNDEFINED This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.

    *)
  2. shape : TensorShapeProto.t option;
}
val make : ?elem_type:int -> ?shape:TensorShapeProto.t -> unit -> t

Helper function to generate a message using default values

Serialize the message to binary format

Deserialize from binary format

Serialize to Json (compatible with Yojson.Basic.t)

Deserialize from Json (compatible with Yojson.Basic.t)

val name : unit -> string

Fully qualified protobuf name of this message

OCaml

Innovation. Community. Security.