function encodeWeights(_x, _x2) {
	  return _encodeWeights.apply(this, arguments);
	}
Encode a map from names to weight values as an ArrayBuffer, along with an
`Array` of `WeightsManifestEntry` as specification of the encoded weights.

This function does not perform sharding.

This function is the reverse of `decodeWeights`.

@param tensors A map ("dict") from names to tensors.
@param group Group to which the weights belong (optional).
@returns A `Promise` of
  - A flat `ArrayBuffer` with all the binary values of the `Tensor`s
    concatenated.
  - An `Array` of `WeightManifestEntry`s, carrying information including
    tensor names, `dtype`s and shapes.
@throws Error: on unsupported tensor `dtype`.