Package com.yahoo.tensor.serialization


@ExportPackage package com.yahoo.tensor.serialization
  • Classes
    Class
    Description
    Implementation of a dense binary format for a tensor on the form: Sorted dimensions = num_dimensions [dimension_str_len dimension_str_bytes dimension_size_int]* Cell_values = [double, double, double, ...]* where values are encoded in order of increasing indexes in each dimension, increasing indexes of later dimensions in the dimension type before earlier.
    Writes tensors on the JSON format used in Vespa tensor document fields: A JSON map containing a 'cells' or 'values' array.
    Class used by clients for serializing a Tensor object into binary format or de-serializing binary data into a Tensor object.