Struct tensorflow::ImportGraphDefOptions [] [src]

pub struct ImportGraphDefOptions { /* fields omitted */ }

ImportGraphDefOptions holds options that can be passed to Graph::import_graph_def.

Methods

impl ImportGraphDefOptions
[src]

Creates a default ImportGraphDefOptions.

impl ImportGraphDefOptions
[src]

Set the prefix to be prepended to the names of nodes in graph_def that will be imported into graph.

Set any imported nodes with input src_name:src_index to have that input replaced with dst. src_name refers to a node in the graph to be imported, dst references a node already existing in the graph being imported into.

Set any imported nodes with control input src_name to have that input replaced with dst. src_name refers to a node in the graph to be imported, dst references an operation already existing in the graph being imported into.

Cause the imported graph to have a control dependency on oper. oper should exist in the graph being imported into.

Add an output in graph_def to be returned via the return_outputs output parameter of import_graph_def(). If the output is remapped via an input mapping, the corresponding existing tensor in graph will be returned.

Returns the number of return outputs added via add_return_output().

Trait Implementations

impl Debug for ImportGraphDefOptions
[src]

Formats the value using the given formatter.

impl Drop for ImportGraphDefOptions
[src]

A method called when the value goes out of scope. Read more