FFmpeg
|
Public Member Functions | |
def | __init__ (self, graph_def, nodes, outfile, dump4tb) |
def | add_operand (self, name, type) |
def | dump_for_tensorboard (self) |
def | get_conv2d_params (self, conv2d_scope_name) |
def | dump_complex_conv2d_to_file (self, node, f) |
def | dump_simple_conv2d_to_file (self, node, f) |
def | dump_depth2space_to_file (self, node, f) |
def | dump_mirrorpad_to_file (self, node, f) |
def | dump_maximum_to_file (self, node, f) |
def | dump_mathbinary_to_file (self, node, f) |
def | dump_mathunary_to_file (self, node, f) |
def | dump_layers_to_file (self, f) |
def | dump_operands_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 | in_conv2d_scope (self, name) |
def | generate_conv2d_scope_info (self) |
def | run (self) |
Static Public Member Functions | |
def | get_scope_name (name) |
Definition at line 58 of file convert_from_tensorflow.py.
def convert_from_tensorflow.TFConverter.__init__ | ( | self, | |
graph_def, | |||
nodes, | |||
outfile, | |||
dump4tb | |||
) |
Definition at line 59 of file convert_from_tensorflow.py.
def convert_from_tensorflow.TFConverter.add_operand | ( | self, | |
name, | |||
type | |||
) |
Definition at line 80 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file(), convert_from_tensorflow.TFConverter.dump_depth2space_to_file(), convert_from_tensorflow.TFConverter.dump_mathbinary_to_file(), convert_from_tensorflow.TFConverter.dump_mathunary_to_file(), convert_from_tensorflow.TFConverter.dump_maximum_to_file(), convert_from_tensorflow.TFConverter.dump_mirrorpad_to_file(), and convert_from_tensorflow.TFConverter.dump_simple_conv2d_to_file().
def convert_from_tensorflow.TFConverter.dump_for_tensorboard | ( | self | ) |
Definition at line 98 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
def convert_from_tensorflow.TFConverter.get_conv2d_params | ( | self, | |
conv2d_scope_name | |||
) |
Definition at line 105 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file().
def convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file | ( | self, | |
node, | |||
f | |||
) |
Definition at line 125 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file().
def convert_from_tensorflow.TFConverter.dump_simple_conv2d_to_file | ( | self, | |
node, | |||
f | |||
) |
Definition at line 181 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 219 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file().
def convert_from_tensorflow.TFConverter.dump_mirrorpad_to_file | ( | self, | |
node, | |||
f | |||
) |
Definition at line 230 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file().
def convert_from_tensorflow.TFConverter.dump_maximum_to_file | ( | self, | |
node, | |||
f | |||
) |
Definition at line 246 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file().
def convert_from_tensorflow.TFConverter.dump_mathbinary_to_file | ( | self, | |
node, | |||
f | |||
) |
Definition at line 259 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file().
def convert_from_tensorflow.TFConverter.dump_mathunary_to_file | ( | self, | |
node, | |||
f | |||
) |
Definition at line 290 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file().
def convert_from_tensorflow.TFConverter.dump_layers_to_file | ( | self, | |
f | |||
) |
Definition at line 301 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_to_file().
def convert_from_tensorflow.TFConverter.dump_operands_to_file | ( | self, | |
f | |||
) |
Definition at line 326 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_to_file().
def convert_from_tensorflow.TFConverter.dump_to_file | ( | self | ) |
Definition at line 336 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 345 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 350 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
def convert_from_tensorflow.TFConverter.remove_identity | ( | self | ) |
Definition at line 361 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
def convert_from_tensorflow.TFConverter.generate_edges | ( | self | ) |
Definition at line 387 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
|
static |
Definition at line 397 of file convert_from_tensorflow.py.
def convert_from_tensorflow.TFConverter.in_conv2d_scope | ( | self, | |
name | |||
) |
Definition at line 404 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file().
def convert_from_tensorflow.TFConverter.generate_conv2d_scope_info | ( | self | ) |
Definition at line 415 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
def convert_from_tensorflow.TFConverter.run | ( | self | ) |
Definition at line 438 of file convert_from_tensorflow.py.
convert_from_tensorflow.TFConverter.graph_def |
Definition at line 60 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_for_tensorboard().
convert_from_tensorflow.TFConverter.nodes |
Definition at line 61 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file(), convert_from_tensorflow.TFConverter.generate_conv2d_scope_info(), 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 62 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_to_file().
convert_from_tensorflow.TFConverter.dump4tb |
Definition at line 63 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.run().
convert_from_tensorflow.TFConverter.layer_number |
Definition at line 64 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file(), convert_from_tensorflow.TFConverter.dump_depth2space_to_file(), convert_from_tensorflow.TFConverter.dump_mathbinary_to_file(), convert_from_tensorflow.TFConverter.dump_mathunary_to_file(), convert_from_tensorflow.TFConverter.dump_maximum_to_file(), convert_from_tensorflow.TFConverter.dump_mirrorpad_to_file(), convert_from_tensorflow.TFConverter.dump_simple_conv2d_to_file(), and convert_from_tensorflow.TFConverter.dump_to_file().
convert_from_tensorflow.TFConverter.output_names |
Definition at line 65 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 66 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.add_operand(), convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file(), convert_from_tensorflow.TFConverter.dump_mathbinary_to_file(), convert_from_tensorflow.TFConverter.dump_mathunary_to_file(), convert_from_tensorflow.TFConverter.dump_maximum_to_file(), convert_from_tensorflow.TFConverter.dump_mirrorpad_to_file(), convert_from_tensorflow.TFConverter.dump_simple_conv2d_to_file(), convert_from_tensorflow.TFConverter.generate_conv2d_scope_info(), 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 67 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file(), convert_from_tensorflow.TFConverter.generate_edges(), and convert_from_tensorflow.TFConverter.get_conv2d_params().
convert_from_tensorflow.TFConverter.conv_activations |
Definition at line 68 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file(), convert_from_tensorflow.TFConverter.dump_simple_conv2d_to_file(), and convert_from_tensorflow.TFConverter.get_conv2d_params().
convert_from_tensorflow.TFConverter.conv_paddings |
Definition at line 69 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file(), and convert_from_tensorflow.TFConverter.dump_simple_conv2d_to_file().
convert_from_tensorflow.TFConverter.converted_nodes |
Definition at line 70 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file(), convert_from_tensorflow.TFConverter.dump_depth2space_to_file(), convert_from_tensorflow.TFConverter.dump_layers_to_file(), convert_from_tensorflow.TFConverter.dump_mathbinary_to_file(), convert_from_tensorflow.TFConverter.dump_mathunary_to_file(), convert_from_tensorflow.TFConverter.dump_maximum_to_file(), convert_from_tensorflow.TFConverter.dump_mirrorpad_to_file(), and convert_from_tensorflow.TFConverter.dump_simple_conv2d_to_file().
convert_from_tensorflow.TFConverter.conv2d_scope_names |
Definition at line 71 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.generate_conv2d_scope_info(), and convert_from_tensorflow.TFConverter.in_conv2d_scope().
convert_from_tensorflow.TFConverter.conv2d_scopename_inputname_dict |
Definition at line 72 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file(), and convert_from_tensorflow.TFConverter.generate_conv2d_scope_info().
convert_from_tensorflow.TFConverter.op2code |
Definition at line 73 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_complex_conv2d_to_file(), convert_from_tensorflow.TFConverter.dump_depth2space_to_file(), convert_from_tensorflow.TFConverter.dump_mathbinary_to_file(), convert_from_tensorflow.TFConverter.dump_mathunary_to_file(), convert_from_tensorflow.TFConverter.dump_maximum_to_file(), convert_from_tensorflow.TFConverter.dump_mirrorpad_to_file(), and convert_from_tensorflow.TFConverter.dump_simple_conv2d_to_file().
convert_from_tensorflow.TFConverter.mathbin2code |
Definition at line 74 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file(), and convert_from_tensorflow.TFConverter.dump_mathbinary_to_file().
convert_from_tensorflow.TFConverter.mathun2code |
Definition at line 75 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_layers_to_file(), and convert_from_tensorflow.TFConverter.dump_mathunary_to_file().
convert_from_tensorflow.TFConverter.mirrorpad_mode |
Definition at line 76 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.dump_mirrorpad_to_file().
convert_from_tensorflow.TFConverter.name_operand_dict |
Definition at line 77 of file convert_from_tensorflow.py.
Referenced by convert_from_tensorflow.TFConverter.add_operand(), convert_from_tensorflow.TFConverter.dump_operands_to_file(), and convert_from_tensorflow.TFConverter.dump_to_file().