LostTech.TensorFlow : API Documentation

Type util

Namespace tensorflow.lite.python.util

Public static methods

object build_debug_info_func(object original_graph)

object build_debug_info_func_dyn(object original_graph)

object convert_dtype_to_tflite_type(DType tf_dtype)

object convert_dtype_to_tflite_type_dyn(object tf_dtype)

object freeze_graph(BaseSession sess, IEnumerable<object> input_tensors, IEnumerable<object> output_tensors)

object freeze_graph_dyn(object sess, object input_tensors, object output_tensors)

object get_debug_info(object nodes_to_debug_info_func, bool converted_graph)

object get_debug_info(object nodes_to_debug_info_func, IEnumerable<object> converted_graph)

object get_debug_info_dyn(object nodes_to_debug_info_func, object converted_graph)

object get_grappler_config(IEnumerable<string> optimizers_list)

object get_grappler_config_dyn(object optimizers_list)

string get_tensor_name(IGraphNodeBase tensor)

object get_tensor_name_dyn(object tensor)

IList<object> get_tensors_from_tensor_names(Graph graph, IEnumerable<string> tensor_names)

object get_tensors_from_tensor_names_dyn(object graph, object tensor_names)

bool is_frozen_graph(BaseSession sess)

object is_frozen_graph_dyn(object sess)

object run_graph_optimizations(IEnumerable<object> graph_def, IEnumerable<object> input_arrays, IEnumerable<object> output_arrays, object config, object graph)

object run_graph_optimizations_dyn(object graph_def, object input_arrays, object output_arrays, object config, object graph)

void set_tensor_shapes(IEnumerable<IGraphNodeBase> tensors, IDictionary<string, IEnumerable<int>> shapes)

object set_tensor_shapes_dyn(object tensors, object shapes)

Public properties

PythonFunctionContainer build_debug_info_func_fn get;

PythonFunctionContainer convert_dtype_to_tflite_type_fn get;

PythonFunctionContainer freeze_graph_fn get;

PythonFunctionContainer get_debug_info_fn get;

PythonFunctionContainer get_grappler_config_fn get;

PythonFunctionContainer get_tensor_name_fn get;

PythonFunctionContainer get_tensors_from_tensor_names_fn get;

PythonFunctionContainer is_frozen_graph_fn get;

PythonFunctionContainer run_graph_optimizations_fn get;

PythonFunctionContainer set_tensor_shapes_fn get;