tensorflow::ReadOnlyMemoryRegion

This is an abstract class.

#include <file_system.h>

A readonly memmapped file abstraction.

Summary

The implementation must guarantee that all memory is accessable when the object exists, independently from the Env that created it.

Constructors and Destructors

ReadOnlyMemoryRegion()
~ReadOnlyMemoryRegion()

Public functions

data()=0
virtual const void *
length()=0
virtual uint64

Public functions

ReadOnlyMemoryRegion

 ReadOnlyMemoryRegion()

data

virtual const void * data()=0

length

virtual uint64 length()=0

~ReadOnlyMemoryRegion

virtual  ~ReadOnlyMemoryRegion()=default