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