Voting helps other researchers find interesting modules.
Used as Mustang attachment DO NOT: - ACCESS THE PROTO FIELDS DIRECTLY - USE THE DECODING LIBRARY IN quality/rankembed/mustang/fixed_point_decoding_helpers.h INSTEAD. - USE HARDCODED MustangRankEmbedInfo TEXT PROTOS IN TESTS! USE quality/rankembed/test_utils/mustang_rankembed_info_utils.h INSTEAD.
additionalFixedPointEncodings
list(String.t)
nil
compressedDocumentEmbedding
GoogleApi.ContentWarehouse.V1.Model.QualityRankembedMustangMustangRankEmbedInfoCompressedEmbedding.t
fixedPointEncoding
String.t
scaledFixedPoint4Encoding
scaledFixedPoint8Encoding
scaledShiftedFixedPoint4Encoding
versionAndImprovInfo (type: integer(), default: nil) - First 7 bits encode the version, then each chunk of 5 bits encode the index of a potential improv query (lsb to msb) -------|-----|-----|-----|-----|----- version| id1 | id2 | id3 | id4 | id5 where id1 is the index of the first improv query in the improv debug table. As of cl/270008220, this field only contains the version info. For backward compatibility, version still only uses the first 7 bits, and is still prepended by 5 1 bits.
versionAndImprovInfo
integer()
Unwrap a decoded JSON object into its complex fields.
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualityRankembedMustangMustangRankEmbedInfo{ additionalFixedPointEncodings: [String.t()] | nil, compressedDocumentEmbedding: GoogleApi.ContentWarehouse.V1.Model.QualityRankembedMustangMustangRankEmbedInfoCompressedEmbedding.t() | nil, fixedPointEncoding: String.t() | nil, scaledFixedPoint4Encoding: String.t() | nil, scaledFixedPoint8Encoding: String.t() | nil, scaledShiftedFixedPoint4Encoding: String.t() | nil, versionAndImprovInfo: integer() | nil }
@spec decode(struct(), keyword()) :: struct()