Type base_layer_utils
Namespace tensorflow.python.keras.engine.base_layer_utils
Methods
- autocast_context_manager
- autocast_context_manager_dyn
- call_context
- call_context_dyn
- check_graph_consistency
- check_graph_consistency
- check_graph_consistency
- check_graph_consistency_dyn
- collect_previous_mask
- collect_previous_mask_dyn
- create_keras_history
- create_keras_history
- create_keras_history_dyn
- create_mean_metric
- create_mean_metric_dyn
- default
- default_dyn
- disable_v2_dtype_behavior
- disable_v2_dtype_behavior_dyn
- enable_v2_dtype_behavior
- enable_v2_dtype_behavior_dyn
- from_saved_model
- from_saved_model_dyn
- generate_placeholders_from_shape
- generate_placeholders_from_shape
- generate_placeholders_from_shape
- generate_placeholders_from_shape
- generate_placeholders_from_shape
- generate_placeholders_from_shape
- generate_placeholders_from_shape_dyn
- have_all_keras_metadata
- have_all_keras_metadata
- have_all_keras_metadata_dyn
- is_in_eager_or_tf_function
- is_in_eager_or_tf_function_dyn
- is_in_keras_graph
- is_in_keras_graph_dyn
- is_in_tf_function
- is_in_tf_function_dyn
- is_subclassed
- is_subclassed_dyn
- make_variable
- make_variable_dyn
- mark_as_return
- mark_as_return
- mark_as_return
- mark_as_return_dyn
- mark_checked
- mark_checked
- mark_checked
- mark_checked_dyn
- needs_keras_history
- needs_keras_history
- needs_keras_history_dyn
- training_arg_passed_to_call
- training_arg_passed_to_call_dyn
- uses_keras_history
- uses_keras_history
- uses_keras_history_dyn
- v2_dtype_behavior_enabled
- v2_dtype_behavior_enabled_dyn
Properties
- autocast_context_manager_fn
- call_context_fn
- CallContext_fn
- check_graph_consistency_fn
- collect_previous_mask_fn
- create_keras_history_fn
- create_mean_metric_fn
- default_fn
- disable_v2_dtype_behavior_fn
- enable_v2_dtype_behavior_fn
- from_saved_model_fn
- generate_placeholders_from_shape_fn
- have_all_keras_metadata_fn
- is_in_eager_or_tf_function_fn
- is_in_keras_graph_fn
- is_in_tf_function_fn
- is_subclassed_fn
- make_variable_fn
- mark_as_return_fn
- mark_checked_fn
- needs_keras_history_fn
- training_arg_passed_to_call_fn
- uses_keras_history_fn
- v2_dtype_behavior_enabled_fn
Fields
Public static methods
IEnumerator<object> autocast_context_manager(DType dtype)
object autocast_context_manager_dyn(object dtype)
object call_context()
object call_context_dyn()
void check_graph_consistency(IGraphNodeBase tensor, string method, bool force_raise)
void check_graph_consistency(IEnumerable<object> tensor, string method, bool force_raise)
void check_graph_consistency(double tensor, string method, bool force_raise)
object check_graph_consistency_dyn(object tensor, ImplicitContainer<T> method, ImplicitContainer<T> force_raise)
object collect_previous_mask(object input_tensors)
object collect_previous_mask_dyn(object input_tensors)
IList<TensorFlowOpLayer> create_keras_history(IGraphNodeBase tensors)
IList<TensorFlowOpLayer> create_keras_history(IEnumerable<IGraphNodeBase> tensors)
object create_keras_history_dyn(object tensors)
ValueTuple<Mean, object> create_mean_metric(double value, string name)
object create_mean_metric_dyn(object value, object name)
object default(object method)
object default_dyn(object method)
void disable_v2_dtype_behavior()
object disable_v2_dtype_behavior_dyn()
void enable_v2_dtype_behavior()
object enable_v2_dtype_behavior_dyn()
bool from_saved_model(object layer)
object from_saved_model_dyn(object layer)
Tensor generate_placeholders_from_shape(IEnumerable<object> shape)
Tensor generate_placeholders_from_shape(ValueTuple<int, object> shape)
Tensor generate_placeholders_from_shape(ValueTuple<Nullable<int>> shape)
Tensor generate_placeholders_from_shape(TensorShape shape)
object generate_placeholders_from_shape_dyn(object shape)
bool have_all_keras_metadata(IEnumerable<IGraphNodeBase> tensors)
bool have_all_keras_metadata(IGraphNodeBase tensors)
object have_all_keras_metadata_dyn(object tensors)
bool is_in_eager_or_tf_function()
object is_in_eager_or_tf_function_dyn()
object is_in_keras_graph()
object is_in_keras_graph_dyn()
bool is_in_tf_function()
object is_in_tf_function_dyn()
bool is_subclassed(object layer)
object is_subclassed_dyn(object layer)
Variable make_variable(string name, TensorShape shape, ImplicitContainer<T> dtype, Nullable<ValueTuple<PythonClassContainer, object>> initializer, object trainable, object caching_device, bool validate_shape, object constraint, Nullable<bool> use_resource, object collections, VariableSynchronization synchronization, VariableAggregation aggregation, object partitioner)
object make_variable_dyn(object name, object shape, ImplicitContainer<T> dtype, object initializer, object trainable, object caching_device, ImplicitContainer<T> validate_shape, object constraint, object use_resource, object collections, ImplicitContainer<T> synchronization, ImplicitContainer<T> aggregation, object partitioner)
object mark_as_return(object outputs, AutomaticControlDependencies acd)
object mark_as_return(PythonFunctionContainer outputs, AutomaticControlDependencies acd)
object mark_as_return(IEnumerable<IGraphNodeBase> outputs, AutomaticControlDependencies acd)
object mark_as_return_dyn(object outputs, object acd)
void mark_checked(IGraphNodeBase tensors)
void mark_checked(IEnumerable<IGraphNodeBase> tensors)
void mark_checked(PythonClassContainer tensors)
object mark_checked_dyn(object tensors)
bool needs_keras_history(IEnumerable<IGraphNodeBase> tensors, bool ignore_call_context)
bool needs_keras_history(IGraphNodeBase tensors, bool ignore_call_context)
object needs_keras_history_dyn(object tensors, ImplicitContainer<T> ignore_call_context)
bool training_arg_passed_to_call(object argspec, IEnumerable<object> args, IDictionary<string, object> kwargs)
object training_arg_passed_to_call_dyn(object argspec, object args, object kwargs)
bool uses_keras_history(IGraphNodeBase tensors)
bool uses_keras_history(IEnumerable<IGraphNodeBase> tensors)
object uses_keras_history_dyn(object tensors)
Nullable<bool> v2_dtype_behavior_enabled()
object v2_dtype_behavior_enabled_dyn()
Public properties
PythonFunctionContainer autocast_context_manager_fn get;
PythonFunctionContainer call_context_fn get;
PythonFunctionContainer CallContext_fn get;
PythonFunctionContainer check_graph_consistency_fn get;
PythonFunctionContainer collect_previous_mask_fn get;
PythonFunctionContainer create_keras_history_fn get;
PythonFunctionContainer create_mean_metric_fn get;
PythonFunctionContainer default_fn get;
PythonFunctionContainer disable_v2_dtype_behavior_fn get;
PythonFunctionContainer enable_v2_dtype_behavior_fn get;
PythonFunctionContainer from_saved_model_fn get;
PythonFunctionContainer generate_placeholders_from_shape_fn get;
PythonFunctionContainer have_all_keras_metadata_fn get;
PythonFunctionContainer is_in_eager_or_tf_function_fn get;
PythonFunctionContainer is_in_keras_graph_fn get;
PythonFunctionContainer is_in_tf_function_fn get;
PythonFunctionContainer is_subclassed_fn get;
PythonFunctionContainer make_variable_fn get;
PythonFunctionContainer mark_as_return_fn get;
PythonFunctionContainer mark_checked_fn get;
PythonFunctionContainer needs_keras_history_fn get;
PythonFunctionContainer training_arg_passed_to_call_fn get;
PythonFunctionContainer uses_keras_history_fn get;
PythonFunctionContainer v2_dtype_behavior_enabled_fn get;
Public fields
Nullable<bool> V2_DTYPE_BEHAVIOR
return Nullable<bool>
|