LostTech.TensorFlow : API Documentation

Type func_graph

Namespace tensorflow.python.framework.func_graph

Public static methods

void check_mutation(IEnumerable<object> n1, TensorSpec n2)

void check_mutation(IEnumerable<object> n1, IGraphNodeBase n2)

void check_mutation(IEnumerable<object> n1, PythonClassContainer n2)

void check_mutation(PythonClassContainer n1, IEnumerable<PythonClassContainer> n2)

void check_mutation(PythonClassContainer n1, BaseResourceVariable n2)

void check_mutation(PythonClassContainer n1, TensorSpec n2)

void check_mutation(IEnumerable<object> n1, BaseResourceVariable n2)

void check_mutation(PythonClassContainer n1, IGraphNodeBase n2)

void check_mutation(PythonClassContainer n1, PythonClassContainer n2)

void check_mutation(IEnumerable<object> n1, IEnumerable<PythonClassContainer> n2)

object check_mutation_dyn(object n1, object n2)

object convert_structure_to_signature(IDictionary<object, object> structure, object arg_names)

object convert_structure_to_signature(IEnumerable<PythonClassContainer> structure, object arg_names)

object convert_structure_to_signature(BaseResourceVariable structure, object arg_names)

object convert_structure_to_signature(TensorSpec structure, object arg_names)

object convert_structure_to_signature(IGraphNodeBase structure, object arg_names)

object convert_structure_to_signature(PythonClassContainer structure, object arg_names)

object convert_structure_to_signature_dyn(object structure, object arg_names)

bool device_stack_has_callable(TraceableStack device_stack)

object device_stack_has_callable_dyn(object device_stack)

void dismantle_func_graph(FuncGraph func_graph)

object dismantle_func_graph_dyn(object func_graph)

IList<object> flatten(IEnumerable<object> sequence)

IList<object> flatten(object sequence)

IList<object> flatten(PythonClassContainer sequence)

object flatten_dyn(object sequence)

Flatten a tensor.
Returns
object
A tensor, reshaped into 1-D

Example: ```python >>> b = tf.constant([[1, 2], [3, 4]]) >>> b >>> tf.keras.backend.flatten(b) ```

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, IEnumerable<object> signature, FuncGraph func_graph, bool autograph, object autograph_options, bool add_control_dependencies, object arg_names, IGraphNodeBase op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, IEnumerable<object> signature, FuncGraph func_graph, PythonModuleContainer autograph, object autograph_options, bool add_control_dependencies, object arg_names, int op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, IEnumerable<object> signature, FuncGraph func_graph, PythonModuleContainer autograph, object autograph_options, bool add_control_dependencies, object arg_names, IGraphNodeBase op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, TypeSpec signature, FuncGraph func_graph, bool autograph, object autograph_options, bool add_control_dependencies, object arg_names, int op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, TypeSpec signature, FuncGraph func_graph, bool autograph, object autograph_options, bool add_control_dependencies, object arg_names, IGraphNodeBase op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, IEnumerable<object> signature, FuncGraph func_graph, bool autograph, object autograph_options, bool add_control_dependencies, object arg_names, int op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, TypeSpec signature, FuncGraph func_graph, PythonModuleContainer autograph, object autograph_options, bool add_control_dependencies, object arg_names, IGraphNodeBase op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, PythonClassContainer signature, FuncGraph func_graph, bool autograph, object autograph_options, bool add_control_dependencies, object arg_names, int op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, PythonClassContainer signature, FuncGraph func_graph, bool autograph, object autograph_options, bool add_control_dependencies, object arg_names, IGraphNodeBase op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, PythonClassContainer signature, FuncGraph func_graph, PythonModuleContainer autograph, object autograph_options, bool add_control_dependencies, object arg_names, int op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, PythonClassContainer signature, FuncGraph func_graph, PythonModuleContainer autograph, object autograph_options, bool add_control_dependencies, object arg_names, IGraphNodeBase op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, object signature, FuncGraph func_graph, bool autograph, object autograph_options, bool add_control_dependencies, object arg_names, int op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, object signature, FuncGraph func_graph, bool autograph, object autograph_options, bool add_control_dependencies, object arg_names, IGraphNodeBase op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, object signature, FuncGraph func_graph, PythonModuleContainer autograph, object autograph_options, bool add_control_dependencies, object arg_names, int op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, object signature, FuncGraph func_graph, PythonModuleContainer autograph, object autograph_options, bool add_control_dependencies, object arg_names, IGraphNodeBase op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

FuncGraph func_graph_from_py_func(string name, PythonFunctionContainer python_func, IEnumerable<object> args, IDictionary<object, object> kwargs, TypeSpec signature, FuncGraph func_graph, PythonModuleContainer autograph, object autograph_options, bool add_control_dependencies, object arg_names, int op_return_value, IDictionary<object, IEnumerable<object>> collections, Nullable<bool> capture_by_value, IEnumerable<TensorShape> override_flat_arg_shapes)

object func_graph_from_py_func_dyn(object name, object python_func, object args, object kwargs, object signature, object func_graph, ImplicitContainer<T> autograph, object autograph_options, ImplicitContainer<T> add_control_dependencies, object arg_names, object op_return_value, object collections, object capture_by_value, object override_flat_arg_shapes)

object maybe_captured(object tensor)

object maybe_captured_dyn(object tensor)

object pack_sequence_as(IEnumerable<object> structure, IEnumerable<IGraphNodeBase> flat_sequence)

object pack_sequence_as(object structure, IEnumerable<IGraphNodeBase> flat_sequence)

object pack_sequence_as_dyn(object structure, object flat_sequence)

Public properties

PythonFunctionContainer check_mutation_fn get;

PythonFunctionContainer convert_structure_to_signature_fn get;

LazyLoader def_function get; set;

object def_function_dyn get; set;

PythonFunctionContainer device_stack_has_callable_fn get;

PythonFunctionContainer dismantle_func_graph_fn get;

PythonFunctionContainer flatten_fn get;

PythonFunctionContainer func_graph_from_py_func_fn get;

PythonFunctionContainer FuncGraph_fn get;

LazyLoader function get; set;

object function_dyn get; set;

PythonFunctionContainer maybe_captured_fn get;

PythonFunctionContainer pack_sequence_as_fn get;

PythonFunctionContainer UnknownArgument_fn get;

IList<object> WHITELIST_COLLECTIONS get; set;

object WHITELIST_COLLECTIONS_dyn get; set;