GraphOwner

TF_Graph freed by dtor (RAII) with convinient methods.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Alias This

ptr

Members

Functions

deserialize
void deserialize(const(void)[] proto)

Loads serialized graph (GraphDef proto).

read
void read(const(char)* fileName, size_t block)
Undocumented in source. Be warned that the author may not have intended to support it.
serialize
TF_Buffer* serialize()

Returns serialized bytes (GraphDef proto).

write
void write(const(char)* fileName)

Writes serialized bytes (GraphDef proto) to a given file.

Variables

ptr
TF_Graph* ptr;

Raw pointer.

status
TF_Status* status;

Status pointer.

Meta