A map ("dict") from names to tensors.
Optionalgroup: WeightGroupGroup to which the weights belong (optional).
A Promise of
ArrayBuffer with all the binary values of the Tensors
concatenated.Array of WeightManifestEntrys, carrying information including
tensor names, dtypes and shapes.
Encode a map from names to weight values as an ArrayBuffer, along with an
ArrayofWeightsManifestEntryas specification of the encoded weights.This function does not perform sharding.
This function is the reverse of
decodeWeights.