pub fn binary_to_layer( byte_stream: &Vec<u8>, input_offset: usize, ) -> Result<(Layer, usize), ModelManagementError>