FFmpeg
|
Public Member Functions | |
def | __init__ (self, graph_def, nodes, outfile) |
def | dump_for_tensorboard (self) |
def | get_conv2d_params (self, node) |
def | dump_conv2d_to_file (self, node, f) |
def | dump_depth2space_to_file (self, node, f) |
def | generate_layer_number (self) |
def | dump_layers_to_file (self, f) |
def | dump_to_file (self) |
def | generate_name_node_dict (self) |
def | generate_output_names (self) |
def | remove_identity (self) |
def | generate_edges (self) |
def | run (self) |
Data Fields | |
graph_def | |
nodes | |
outfile | |
layer_number | |
output_names | |
name_node_dict | |
edges | |
conv_activations | |
conv_paddings | |
converted_nodes | |
op2code | |
Definition at line 29 of file convert_from_tensorflow.py.
def convert_from_tensorflow.TFConverter.__init__ | ( | self, | |
graph_def, | |||
nodes, | |||
outfile | |||
) |
Definition at line 30 of file convert_from_tensorflow.py.
def convert_from_tensorflow.TFConverter.dump_for_tensorboard | ( | self | ) |
Definition at line 44 of file convert_from_tensorflow.py.
def convert_from_tensorflow.TFConverter.get_conv2d_params | ( | self, | |
node | |||
) |
Definition at line 51 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_conv2d_to_file().
def convert_from_tensorflow.TFConverter.dump_conv2d_to_file | ( | self, | |
node, | |||
f | |||
) |
Definition at line 66 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file().
def convert_from_tensorflow.TFConverter.dump_depth2space_to_file | ( | self, | |
node, | |||
f | |||
) |
Definition at line 96 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file().
def convert_from_tensorflow.TFConverter.generate_layer_number | ( | self | ) |
Definition at line 104 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_to_file().
def convert_from_tensorflow.TFConverter.dump_layers_to_file | ( | self, | |
f | |||
) |
Definition at line 113 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_to_file(), and convert_from_tensorflow.TFConverter.generate_layer_number().
def convert_from_tensorflow.TFConverter.dump_to_file | ( | self | ) |
Definition at line 123 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
def convert_from_tensorflow.TFConverter.generate_name_node_dict | ( | self | ) |
Definition at line 130 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
def convert_from_tensorflow.TFConverter.generate_output_names | ( | self | ) |
Definition at line 135 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
def convert_from_tensorflow.TFConverter.remove_identity | ( | self | ) |
Definition at line 146 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
def convert_from_tensorflow.TFConverter.generate_edges | ( | self | ) |
Definition at line 172 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
def convert_from_tensorflow.TFConverter.run | ( | self | ) |
Definition at line 181 of file convert_from_tensorflow.py.
convert_from_tensorflow.TFConverter.graph_def |
Definition at line 31 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_for_tensorboard().
convert_from_tensorflow.TFConverter.nodes |
Definition at line 32 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file(), convert_from_tensorflow.TFConverter.generate_edges(), convert_from_tensorflow.TFConverter.generate_name_node_dict(), convert_from_tensorflow.TFConverter.generate_output_names(), and convert_from_tensorflow.TFConverter.remove_identity().
convert_from_tensorflow.TFConverter.outfile |
Definition at line 33 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_to_file().
convert_from_tensorflow.TFConverter.layer_number |
Definition at line 34 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_conv2d_to_file(), convert_from_tensorflow.TFConverter.dump_depth2space_to_file(), and convert_from_tensorflow.TFConverter.dump_to_file().
convert_from_tensorflow.TFConverter.output_names |
Definition at line 35 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.generate_output_names(), and convert_from_tensorflow.TFConverter.remove_identity().
convert_from_tensorflow.TFConverter.name_node_dict |
Definition at line 36 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.generate_name_node_dict(), convert_from_tensorflow.TFConverter.get_conv2d_params(), and convert_from_tensorflow.TFConverter.remove_identity().
convert_from_tensorflow.TFConverter.edges |
Definition at line 37 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.generate_edges(), and convert_from_tensorflow.TFConverter.get_conv2d_params().
convert_from_tensorflow.TFConverter.conv_activations |
Definition at line 38 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_conv2d_to_file(), and convert_from_tensorflow.TFConverter.get_conv2d_params().
convert_from_tensorflow.TFConverter.conv_paddings |
Definition at line 39 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_conv2d_to_file().
convert_from_tensorflow.TFConverter.converted_nodes |
Definition at line 40 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_conv2d_to_file(), convert_from_tensorflow.TFConverter.dump_depth2space_to_file(), convert_from_tensorflow.TFConverter.dump_layers_to_file(), convert_from_tensorflow.TFConverter.generate_layer_number(), and convert_from_tensorflow.TFConverter.get_conv2d_params().
convert_from_tensorflow.TFConverter.op2code |
Definition at line 41 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_conv2d_to_file(), and convert_from_tensorflow.TFConverter.dump_depth2space_to_file().