LostTech.TensorFlow : API Documentation

Type tf_utils

Namespace tensorflow.python.keras.utils.tf_utils

Methods

Properties

Public static methods

bool are_all_symbolic_tensors(object tensors)

object are_all_symbolic_tensors_dyn(object tensors)

void assert_no_legacy_layers(object layers)

void assert_no_legacy_layers(IEnumerable<Layer> layers)

object assert_no_legacy_layers_dyn(object layers)

object constant_value(bool pred)

IList<object> convert_inner_node_data(PythonClassContainer nested, bool wrap)

IList<object> convert_inner_node_data(int nested, bool wrap)

IList<object> convert_inner_node_data(ListWrapper nested, bool wrap)

IList<object> convert_inner_node_data(ValueTuple<ListWrapper, object> nested, bool wrap)

IList<object> convert_inner_node_data(IEnumerable<ListWrapper> nested, bool wrap)

IList<object> convert_inner_node_data(IDictionary<object, object> nested, bool wrap)

object convert_inner_node_data_dyn(object nested, ImplicitContainer<T> wrap)

IList<object> convert_shapes(object input_shape, bool to_tuples)

IList<object> convert_shapes(TensorShape input_shape, bool to_tuples)

IList<object> convert_shapes(Dimension input_shape, bool to_tuples)

IList<object> convert_shapes(IEnumerable<object> input_shape, bool to_tuples)

IList<object> convert_shapes(IDictionary<string, ValueTuple<object, int>> input_shape, bool to_tuples)

IList<object> convert_shapes(int32 input_shape, bool to_tuples)

IList<object> convert_shapes(PythonClassContainer input_shape, bool to_tuples)

object convert_shapes_dyn(object input_shape, ImplicitContainer<T> to_tuples)

ObjectIdentitySet get_reachable_from_inputs(IEnumerable<object> inputs, IEnumerable<object> targets)

ObjectIdentitySet get_reachable_from_inputs(IDictionary<object, object> inputs, IEnumerable<object> targets)

ObjectIdentitySet get_reachable_from_inputs(IGraphNodeBase inputs, IEnumerable<object> targets)

IContextManager<T> graph_context_for_symbolic_tensors(Object[] args)

IContextManager<T> graph_context_for_symbolic_tensors(IDictionary<string, object> kwargs, Object[] args)

object graph_context_for_symbolic_tensors_dyn(Object[] args)

object graph_context_for_symbolic_tensors_dyn(IDictionary<string, object> kwargs, Object[] args)

bool is_symbolic_tensor(IEnumerable<IGraphNodeBase> tensor)

bool is_symbolic_tensor(PythonClassContainer tensor)

bool is_symbolic_tensor(object tensor)

object is_symbolic_tensor_dyn(object tensor)

bool is_tensor_or_tensor_list(object v)

object is_tensor_or_tensor_list_dyn(object v)

bool is_tensor_or_variable(object x)

object is_tensor_or_variable_dyn(object x)

object map_structure_with_atomic(PythonFunctionContainer is_atomic_fn, PythonFunctionContainer map_fn, PythonClassContainer nested)

object map_structure_with_atomic(PythonFunctionContainer is_atomic_fn, PythonFunctionContainer map_fn, object nested)

object map_structure_with_atomic_dyn(object is_atomic_fn, object map_fn, object nested)

IContextManager<T> maybe_init_scope(Layer layer)

IContextManager<T> maybe_init_scope(object layer)

object maybe_init_scope_dyn(object layer)

void register_symbolic_tensor_type(PythonClassContainer cls)

object register_symbolic_tensor_type_dyn(object cls)

object shape_type_conversion(PythonFunctionContainer fn)

object shape_type_conversion_dyn(object fn)

object smart_cond(PythonClassContainer pred, PythonFunctionContainer true_fn, PythonFunctionContainer false_fn, string name)

Public properties

PythonFunctionContainer are_all_symbolic_tensors_fn get;

PythonFunctionContainer assert_no_legacy_layers_fn get;

PythonFunctionContainer constant_value_fn get;

PythonFunctionContainer convert_inner_node_data_fn get;

PythonFunctionContainer convert_shapes_fn get;

PythonFunctionContainer get_reachable_from_inputs_fn get;

PythonFunctionContainer graph_context_for_symbolic_tensors_fn get;

PythonFunctionContainer is_symbolic_tensor_fn get;

PythonFunctionContainer is_tensor_or_tensor_list_fn get;

PythonFunctionContainer is_tensor_or_variable_fn get;

PythonFunctionContainer ListWrapper_fn get;

PythonFunctionContainer map_structure_with_atomic_fn get;

PythonFunctionContainer maybe_init_scope_fn get;

PythonFunctionContainer register_symbolic_tensor_type_fn get;

PythonFunctionContainer shape_type_conversion_fn get;

PythonFunctionContainer smart_cond_fn get;