LostTech.TensorFlow : API Documentation

Type base_head

Namespace tensorflow_estimator.python.estimator.head.base_head

Methods

Properties

Fields

Public static methods

Tensor all_class_ids(IndexedSlices logits, int n_classes)

Tensor all_class_ids(IGraphNodeBase logits, int n_classes)

Tensor all_class_ids(ValueTuple<PythonClassContainer, PythonClassContainer> logits, int n_classes)

object all_class_ids_dyn(object logits, object n_classes)

Tensor all_classes(IGraphNodeBase logits, int n_classes, object label_vocabulary)

Tensor all_classes(ValueTuple<PythonClassContainer, PythonClassContainer> logits, int n_classes, object label_vocabulary)

Tensor all_classes(IndexedSlices logits, int n_classes, object label_vocabulary)

object all_classes_dyn(object logits, object n_classes, object label_vocabulary)

Tensor call_loss_fn(PythonFunctionContainer loss_fn, IGraphNodeBase labels, IEnumerable<IGraphNodeBase> logits, IDictionary<object, IGraphNodeBase> features, int expected_loss_dim)

Tensor call_loss_fn(PythonFunctionContainer loss_fn, IGraphNodeBase labels, ValueTuple<PythonClassContainer, PythonClassContainer> logits, IDictionary<object, IGraphNodeBase> features, int expected_loss_dim)

Tensor call_loss_fn(PythonFunctionContainer loss_fn, IGraphNodeBase labels, object logits, IDictionary<object, IGraphNodeBase> features, int expected_loss_dim)

Tensor call_loss_fn(PythonFunctionContainer loss_fn, IGraphNodeBase labels, string logits, IDictionary<object, IGraphNodeBase> features, int expected_loss_dim)

Tensor call_loss_fn(PythonFunctionContainer loss_fn, IGraphNodeBase labels, IGraphNodeBase logits, IDictionary<object, IGraphNodeBase> features, int expected_loss_dim)

Tensor call_loss_fn(PythonFunctionContainer loss_fn, IGraphNodeBase labels, IndexedSlices logits, IDictionary<object, IGraphNodeBase> features, int expected_loss_dim)

object call_loss_fn_dyn(object loss_fn, object labels, object logits, object features, ImplicitContainer<T> expected_loss_dim)

object check_dense_labels_match_logits_and_reshape(IGraphNodeBase labels, object logits, int expected_labels_dimension)

object check_dense_labels_match_logits_and_reshape(IGraphNodeBase labels, IGraphNodeBase logits, int expected_labels_dimension)

object check_dense_labels_match_logits_and_reshape(IGraphNodeBase labels, IndexedSlices logits, int expected_labels_dimension)

object check_dense_labels_match_logits_and_reshape(IGraphNodeBase labels, ValueTuple<PythonClassContainer, PythonClassContainer> logits, int expected_labels_dimension)

object check_dense_labels_match_logits_and_reshape(IGraphNodeBase labels, IEnumerable<IGraphNodeBase> logits, int expected_labels_dimension)

object check_dense_labels_match_logits_and_reshape(IGraphNodeBase labels, string logits, int expected_labels_dimension)

object check_dense_labels_match_logits_and_reshape_dyn(object labels, object logits, object expected_labels_dimension)

object check_label_range(IGraphNodeBase labels, int n_classes, string message)

object check_label_range(RaggedTensor labels, int n_classes, int message)

object check_label_range(IEnumerable<IGraphNodeBase> labels, int n_classes, string message)

object check_label_range(IGraphNodeBase labels, int n_classes, int message)

object check_label_range(IEnumerable<IGraphNodeBase> labels, int n_classes, int message)

object check_label_range(object labels, int n_classes, int message)

object check_label_range(object labels, int n_classes, string message)

object check_label_range(RaggedTensor labels, int n_classes, string message)

object check_label_range_dyn(object labels, object n_classes, object message)

object check_logits_final_dim(IndexedSlices logits, int expected_logits_dimension)

object check_logits_final_dim(ValueTuple<PythonClassContainer, PythonClassContainer> logits, int expected_logits_dimension)

object check_logits_final_dim(IEnumerable<IGraphNodeBase> logits, int expected_logits_dimension)

object check_logits_final_dim(IGraphNodeBase logits, int expected_logits_dimension)

object check_logits_final_dim(object logits, int expected_logits_dimension)

object check_logits_final_dim(string logits, int expected_logits_dimension)

object check_logits_final_dim_dyn(object logits, object expected_logits_dimension)

void check_prediction_keys(IEnumerable<string> pred_keys, IEnumerable<string> valid_keys)

object check_prediction_keys_dyn(object pred_keys, object valid_keys)

ClassificationOutput classification_output(string scores, int n_classes, object label_vocabulary)

ClassificationOutput classification_output(IEnumerable<IGraphNodeBase> scores, int n_classes, object label_vocabulary)

ClassificationOutput classification_output(IndexedSlices scores, int n_classes, object label_vocabulary)

ClassificationOutput classification_output(IGraphNodeBase scores, int n_classes, object label_vocabulary)

ClassificationOutput classification_output(ValueTuple<PythonClassContainer, PythonClassContainer> scores, int n_classes, object label_vocabulary)

ClassificationOutput classification_output(object scores, int n_classes, object label_vocabulary)

object classification_output_dyn(object scores, object n_classes, object label_vocabulary)

void create_estimator_spec_summary(ValueTuple<PythonClassContainer, PythonClassContainer> regularized_training_loss, object regularization_losses, PythonFunctionContainer summary_key_fn)

void create_estimator_spec_summary(IndexedSlices regularized_training_loss, object regularization_losses, PythonFunctionContainer summary_key_fn)

void create_estimator_spec_summary(IGraphNodeBase regularized_training_loss, object regularization_losses, PythonFunctionContainer summary_key_fn)

object create_estimator_spec_summary_dyn(object regularized_training_loss, object regularization_losses, object summary_key_fn)

object create_estimator_spec_train_op(IEnumerable<object> head_name, Optimizer optimizer, IEnumerable<object> trainable_variables, PythonFunctionContainer train_op_fn, IEnumerable<object> update_ops, IGraphNodeBase regularized_training_loss, ImplicitContainer<T> loss_reduction)

object create_estimator_spec_train_op(IEnumerable<object> head_name, Optimizer optimizer, IEnumerable<object> trainable_variables, PythonFunctionContainer train_op_fn, IEnumerable<object> update_ops, ValueTuple<PythonClassContainer, PythonClassContainer> regularized_training_loss, ImplicitContainer<T> loss_reduction)

object create_estimator_spec_train_op(IEnumerable<object> head_name, Optimizer optimizer, IEnumerable<object> trainable_variables, PythonFunctionContainer train_op_fn, IEnumerable<object> update_ops, IndexedSlices regularized_training_loss, ImplicitContainer<T> loss_reduction)

object create_estimator_spec_train_op_dyn(object head_name, object optimizer, object trainable_variables, object train_op_fn, object update_ops, object regularized_training_loss, ImplicitContainer<T> loss_reduction)

ValueTuple<object, IDictionary<object, object>> create_eval_metrics_tuple(PythonFunctionContainer fn, IDictionary<string, object> kwargs)

object create_eval_metrics_tuple_dyn(object fn, object kwargs)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, object weight_column, IEnumerable<IGraphNodeBase> logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, string weight_column, ValueTuple<PythonClassContainer, PythonClassContainer> logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, string weight_column, string logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, string weight_column, object logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, object weight_column, ValueTuple<PythonClassContainer, PythonClassContainer> logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, object weight_column, IndexedSlices logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, string weight_column, IGraphNodeBase logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, object weight_column, IGraphNodeBase logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, object weight_column, object logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, object weight_column, string logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, string weight_column, IEnumerable<IGraphNodeBase> logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits(IDictionary<object, IGraphNodeBase> features, string weight_column, IndexedSlices logits, bool allow_per_logit_weights)

object get_weights_and_check_match_logits_dyn(object features, object weight_column, object logits, ImplicitContainer<T> allow_per_logit_weights)

void update_metric_with_broadcast_weights(Metric eval_metric, IGraphNodeBase values, object weights)

void update_metric_with_broadcast_weights(Metric eval_metric, IGraphNodeBase values, IEnumerable<object> weights)

void update_metric_with_broadcast_weights(Metric eval_metric, IndexedSlices values, object weights)

void update_metric_with_broadcast_weights(Metric eval_metric, IndexedSlices values, IEnumerable<object> weights)

void update_metric_with_broadcast_weights(Metric eval_metric, ValueTuple<PythonClassContainer, PythonClassContainer> values, IEnumerable<object> weights)

void update_metric_with_broadcast_weights(Metric eval_metric, ValueTuple<PythonClassContainer, PythonClassContainer> values, object weights)

object update_metric_with_broadcast_weights_dyn(object eval_metric, object values, object weights)

void validate_loss_fn_args(PythonFunctionContainer loss_fn)

object validate_loss_fn_args_dyn(object loss_fn)

void validate_loss_reduction(string loss_reduction)

object validate_loss_reduction_dyn(object loss_reduction)

int validate_n_classes(int n_classes)

object validate_n_classes_dyn(object n_classes)

void validate_trainable_variables(object trainable_variables)

object validate_trainable_variables_dyn(object trainable_variables)

void validate_update_ops(object update_ops)

object validate_update_ops_dyn(object update_ops)

void validate_v2_optimizer(Optimizer optimzier)

object validate_v2_optimizer_dyn(object optimzier)

Public properties

PythonFunctionContainer all_class_ids_fn get;

PythonFunctionContainer all_classes_fn get;

PythonFunctionContainer call_loss_fn_fn get;

PythonFunctionContainer check_dense_labels_match_logits_and_reshape_fn get;

PythonFunctionContainer check_label_range_fn get;

PythonFunctionContainer check_logits_final_dim_fn get;

PythonFunctionContainer check_prediction_keys_fn get;

PythonFunctionContainer classification_output_fn get;

PythonFunctionContainer create_estimator_spec_summary_fn get;

PythonFunctionContainer create_estimator_spec_train_op_fn get;

PythonFunctionContainer create_eval_metrics_tuple_fn get;

object DEFAULT_SERVING_KEY_dyn get; set;

PythonFunctionContainer get_weights_and_check_match_logits_fn get;

PythonFunctionContainer update_metric_with_broadcast_weights_fn get;

PythonFunctionContainer validate_loss_fn_args_fn get;

PythonFunctionContainer validate_loss_reduction_fn get;

PythonFunctionContainer validate_n_classes_fn get;

PythonFunctionContainer validate_trainable_variables_fn get;

PythonFunctionContainer validate_update_ops_fn get;

PythonFunctionContainer validate_v2_optimizer_fn get;

Public fields

string CLASSIFY_SERVING_KEY

return string

string REGRESS_SERVING_KEY

return string

string PREDICT_SERVING_KEY

return string