FlatbufferIO

public class FlatbufferIO

Define APIs reading Flatbuffer

  • Load a saved params flatbuffers from flatbufferFile

    Declaration

    Swift

    public static func loadSavedParams(_ flatbufferFile: String) -> [String : Tensor]

    Parameters

    flatbufferFile

    flatbuffer file path

    Return Value

    A dictionary with UID and corresponding Tensor object.